-
Notifications
You must be signed in to change notification settings - Fork 1
/
tuxmathscrabble.py
executable file
·45 lines (34 loc) · 1012 Bytes
/
tuxmathscrabble.py
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
#!/usr/bin/env python
"""
/**********************************************************
Organization :AsymptopiaSoftware | Software@theLimit
Website :www.asymptopia.org
Support :www.asymptopia.org/forum
Author :Charles B. Cosse
Email :ccosse@asymptopia.org
Copyright :(C) 2006-2015 Asymptopia Software
License :GPLv3
***********************************************************/
"""
import os,sys,string,time
sys.path.append('/usr/share/games/tuxmathscrabble/lib')
from TuxMathScrabble.tms import *
def usage():
msg="""
Usage: tuxmathscrabble [OPTION]
Available options are:
-help Show this help
-wx Enable the wx admin interface
"""
print(msg)
if __name__ == "__main__":
appdir='TuxMathScrabble'
if len(sys.argv)==1:
x=TuxMathScrabbleApp()
elif sys.argv[1]=='-help':
usage()
elif sys.argv.count('-wx')>0:
from TuxMathScrabble.tms_wx import *
x=TuxMathScrabbleAppWX()
else:
x=TuxMathScrabbleApp()