Running an application - cma-open/cmatools GitHub Wiki

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
⚠️ **GitHub.com Fallback** ⚠️