How to Run a Script
Before you run Python scripts from the command line, you need to set up your environment. Efinix provides Windows and Linux scripts to make it easy to set up the environment.
In Linux, you can run scripts from any directory after setting up the environment.
In Windows, you set up the environment and then use a helper batch file to run the script from any directory.
Linux
> source bin/setup.sh // set up environment
> python3 my_script.py // run scriptWindows
> bin\setup.bat // set up environment
> efx_run_pt_script.bat my_script.py // use helper file to run script