Example #1
0
def extensive():
    pr = cProfile.Profile()
    pr.enable()
    ark.init()
    pr.disable()
    s = StringIO()
    sortby = 'cumulative'
    ps = pstats.Stats(pr, stream=s).sort_stats(sortby)
    ps.print_stats()
    print(s.getvalue())
Example #2
0
def init():
    root = Tk()

    root.title(PyArcGui.gui_title)
    root.geometry(PyArcGui.gui_size)

    app = PyArcGui(root)
    Factory.set('GUI',app)

    from ark.gui.control import Control
    Factory.set('GUI_CONTROL',Control)

    ark.init()
    print('RUNNING GUI')

    root.mainloop()
Example #3
0
from configs.config_base import ConfigBase
ConfigBase.load_config()

from translation import Translation
from factory import Factory

trans = Translation()
Factory.set('Translation',trans)

import ark

ark.init()
Example #4
0
from configs.config_base import ConfigBase
ConfigBase.load_config()

from translation import Translation
from factory import Factory

trans = Translation()
Factory.set('Translation', trans)

import ark

ark.init()