Debian Codegraph @

07p/python/auto/__main__.py

raw symbols SCIP
1 #! /usr/bin/env python
2
3 # Some ways to run AUTO:
4 # a) python auto
5 # b) import auto
6 # auto.auto()
7 # c) from auto import *
8
9 if __name__ == "__main__":
10 import sys, os
11 autodir = os.path.dirname(os.path.abspath(__file__))
12 for autodirectory in autodir, os.path.dirname(autodir):
13 if autodirectory not in sys.path:
14 sys.path.insert(0, autodirectory)
15 from auto import AUTOclui
16 AUTOclui.auto()
17 else:
18 from auto.AUTOclui import *