0% found this document useful (0 votes)
4 views

How to Install and Run Python

The document provides a step-by-step guide for downloading and installing Python and pyulog. It includes instructions for verifying the installation and using pip to install pyulog, as well as running a script to convert a ULG log file to CSV format. Users are advised to ensure proper installation paths and to work from a local folder for the ULG file.

Uploaded by

Rahul Rawat
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

How to Install and Run Python

The document provides a step-by-step guide for downloading and installing Python and pyulog. It includes instructions for verifying the installation and using pip to install pyulog, as well as running a script to convert a ULG log file to CSV format. Users are advised to ensure proper installation paths and to work from a local folder for the ULG file.

Uploaded by

Rahul Rawat
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

 Download Python from https://www.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.

You might also like