How to Install and Run Python
How to Install and Run Python
org/downloads/
o Choose the version you want
o Choose the OS you want
Install Python.
o Make sure all these boxes are checked:
o
o
o Click Next and make sure these are checked then click Install
o Make note of where it’s being installed.
o
Download pyulog from https://github.com/PX4/pyulog
Unzip pyulog-master.zip
Copy the pylog-master folder to where Python was installed.
Open an Explorer window where your ULG file is located.
o If it’s on a mapped or network drive, copy the file to a local folder.
Open a Command Prompt window where the ULG file is located by holding down the Shift key then Right-click
anywhere in the folder then click “Open Command (or PowerShell) window here”.
Test to make sure that Python has been installed correctly by typing:
o python –V
o press Enter
o It should print the Python version installed:
o
o Then type:
o pip –V
o press Enter
o It should print out where the site-packages are located:
o
o Then type:
o pip install pyulog
o press Enter
o
o When successful then run the script you want, i.e.
o
o This converted a ULG log file to CSV format.