Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/e/n/envisage-HEAD/examples/plugins/tasks/attractors/run.py   envisage(Download)
# Plugin imports.
from envisage.core_plugin import CorePlugin
from envisage.ui.tasks.tasks_plugin import TasksPlugin
from attractors_plugin import AttractorsPlugin
 
    logging.basicConfig(level=logging.WARNING)
 
    plugins = [ CorePlugin(), TasksPlugin(), AttractorsPlugin() ]
    app = AttractorsApplication(plugins=plugins)
    app.run()

src/p/i/pikos-HEAD/pikos/live/main.py   pikos(Download)
from traits.etsconfig.etsconfig import ETSConfig
ETSConfig.toolkit = 'qt4'
 
from envisage.core_plugin import CorePlugin
from envisage.ui.tasks.tasks_plugin import TasksPlugin
def main(argv):
    plugins = [CorePlugin(), TasksPlugin(), PikosPlugin()]
    app = PikosApplication(plugins)
    app.run()