Exemple #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())
Exemple #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()
Exemple #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()
Exemple #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()