Add Python Paths Setting to Preferences



    1. Add preferences for N paths to add to the PYTHONPATH, ie. sys.path.
    2. Ensure that changes to modules in these paths are recompiled without restarting Robofont.

  • admin

    He

    you can add a start up script that will add some root folders to the sys.path

    import sys
    sys.path.append("my/path/to/my/module")
    

    this module will then be available inside RoboFont

    to update the module without restarting:

    import myModule
    reload(myModule)
    

    good luck


Log in to reply