![]() |
Baby Language Lab Scripts
A collection of data processing tools.
|
This module is the main entry point for all bll applications. More...
Variables | |
string | BLL_APP_ROOT_DIR = 'C:/Users/Wayne/Documents/baby-lab/bll_app/' |
list | module_name = sys.argv[1] |
string | module_path = '%sapp/%s.py' |
tuple | cls_name = reduce(lambda accum, word: accum + word.capitalize(), module_name.split('_'), '') |
tuple | module = imp.load_source(module_name, module_path) |
tuple | cls = getattr(module, cls_name) |
tuple | cur_app = cls() |
This module is the main entry point for all bll applications.
It must be launched with a single command-line arg, the name of the module from the app/ directory that is to be run (i.e. which application to run). In addition, the BLL_APP_ROOT_DIR constant must be set to the absolute path to the bll_app/ directory.
string launcher.BLL_APP_ROOT_DIR = 'C:/Users/Wayne/Documents/baby-lab/bll_app/' |
Definition at line 8 of file launcher.py.
Definition at line 34 of file launcher.py.
tuple launcher.cls_name = reduce(lambda accum, word: accum + word.capitalize(), module_name.split('_'), '') |
Definition at line 23 of file launcher.py.
tuple launcher.cur_app = cls() |
Definition at line 35 of file launcher.py.
tuple launcher.module = imp.load_source(module_name, module_path) |
Definition at line 27 of file launcher.py.
list launcher.module_name = sys.argv[1] |
Definition at line 20 of file launcher.py.
string launcher.module_path = '%sapp/%s.py' |
Definition at line 21 of file launcher.py.