Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Programming Languages
Python
KML to CSV file conversion using Python and Windows Powershell
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="jesseniasayzz, post: 5171626, member: 93025"] I need a detailed step-by-step guide for someone who's never written a script using Python, to run in Windows Powershell, for converting KML to CSV files. The idea is for another department who does not know how to code be able to navigate within the folder the KMZ file is in so that they can simply run it and convert the file. I have this started code, but I am lost and keep Googling and starting different codes with no success: #------------------------------------------------------------------- # Run this in the Windows Powershell # Navigate to where your file is # ls to see your folders # cd _________ to go where you want to go # Import pandas import pandas as pd # Libraries from tkinter from tkinter import Tk from tkinter import * from tkinter import filedialog from tkinter.filedialog import askopenfilename # To upload file Tk().withdraw() file = askopenfilename() print("File Uploaded:", str(file)) #------------------------------------------------------------------- TIA! :) [/QUOTE]
Verification
Post reply
Forums
Programming Languages
Python
KML to CSV file conversion using Python and Windows Powershell
Top