-
Notifications
You must be signed in to change notification settings - Fork 0
/
mstation
executable file
·47 lines (34 loc) · 978 Bytes
/
mstation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python
"""
/**********************************************************
Organization :AsymptopiaSoftware | Software@theLimit
Website :www.asymptopia.org
Author :Charles B. Cosse
Email :ccosse@asymptopia.org
Copyright :(C) 2006-2010 Asymptopia Software
License :GPL2
***********************************************************/
"""
import os,sys,string,time
from MultiplicationStation.mstation import *
def usage():
msg="""
Usage: mstation [OPTION]
Available options are:
-help Show this help
-wx Enable the wx admin interface
Example:
./mstation -wx
"""
print msg
if __name__ == "__main__":
appdir='MultiplicationStation'
if len(sys.argv)==1:
x=MultiplicationStationApp()
elif sys.argv[1]=='-help':
usage()
elif sys.argv.count('-wx')>0:
from MultiplicationStation.mstation_wx import *
x=MultiplicationStationAppWX()
else:
x=MultiplicationStationApp()