-
Notifications
You must be signed in to change notification settings - Fork 2
Running an application
jonathan-winn-geo edited this page Nov 24, 2020
·
4 revisions
Various options exist to run python software, depending on the required system functionality
Running a script
A module script can be executed as follows, assuming system is in the current working directory, or a full path is provided This requires standard set up of if name == "main": within the script to set different context when called from python directly vs imported into another module
python3 system.py
Running as a module
- to add
Running a named function
- to add
Running a tool from the command line
When a package is installed locally it can be used directly from the command line e.g
- to add cmatools example