Next: , Previous: Printing the GPS Python documentation, Up: Python FAQ


16.8.7.8 Automatically loading python files at startup

At startup, GPS will automatically load all python files found in the directories share/gps/plug-ins and $HOME/.gps/plug-ins.

In addition, python files located under <prefix>/share/gps/python can be imported (using the import command) by any python script.

You can also set the PYTHONPATH environment variable to add other directories to the python search path.