Skip to content

Run Instructions

Yash Bansod edited this page Jun 26, 2022 · 1 revision
  • Run an "example" file from the provided examples

To run any python file in the project
Windows:

set PYTHONPATH=<path to project directory>
python <path to python file>

example:

set PYTHONPATH=D:\GitHub\IPyHOP
python .\examples\robosub\robosub_example.py

Linux:

PYTHONPATH=<path to project directory> python <path to python file>

example:

PYTHONPATH=/home/user/GitHub/IPyHOP python ./examples/robosub/robosub_example.py

Note: The PYTHONPATH needs to be set up only once for your environment.

Clone this wiki locally