~nhanb/mcross

ref: bd7d6dec5c9bd8c9f1f08ac64f33c0eff34f8163 mcross/src/mcross/__init__.py -rw-r--r-- 335 bytes
bd7d6decBùi Thành Nhân satisfy black + isort 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def run():
    from . import conf
    from .gui.controller import Controller

    conf.init()

    # Actually start the program
    c = Controller()
    c.run()


def info():
    from pprint import pprint

    from . import conf

    conf.init()

    print("Config file:", conf.CONFIG_FILE)
    print("Config:")
    pprint(conf._conf)