Exemple #1
0
def runPotku():
    sys.path.append(os.path.dirname(os.path.abspath(__file__)))   
    print(sys.path)
    if sys.version_info.major==3 and sys.version_info.minor >=3:
        potku.main()
    else:
        print("Potku requires Python 3.3 or newer.")
Exemple #2
0
def runPotku():
    sys.path.append(os.path.dirname(os.path.abspath(__file__)))
    print(sys.path)
    potku.main()