1. Have a look at os.system and the demo application for managing systems.
2. I am not sure what you mean exactly here. If you are calling a function rather than executing it it might be better to place it in the models or modules directory rather than in a controller (although this is possible). This is correct: ../appName/models/plugin_name.py ../appName/controllers/plugin_name.py Plugins are a little confusing at first because they appear in your apps web gui as being a separate entity. In fact they are made up of files and directories that have names starting with "plugin". .