-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsees.py
49 lines (39 loc) · 835 Bytes
/
sees.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
46
47
48
49
#!/usr/bin/python -W ignore::DeprecationWarning
__author__ = 'Galkan'
__version__ = '1.0'
__date__ = '2014/01/12'
try:
import sys
from lib.version import *
from lib.main import Main
from lib.version import *
from lib.common import *
except ImportError,e:
import sys
sys.stdout.write("%s\n" %e)
sys.exit(1)
def sees():
main = Main()
while True:
print >> sys.stdout, bcolors.FAIL + disclamer + bcolors.ENDC
agree = raw_input()
if (agree == "Y" or agree == "y"):
try:
try:
main.run()
except Exception, mess:
print mess
sys.exit(2)
except KeyboardInterrupt:
print message
sys.exit(3)
elif (agree == "N" or agree == "n"):
print message
sys.exit(4)
else:
print wrong_option
if __name__ == "__main__":
"""
Main Block for Sees
"""
sees()