Beispiel #1
0
#! /usr/bin/python
import globalfunc as globe
import sys
import platform
import localconfig
if platform.system() == "Windows":
        sys.path.append(localconfig.winpath)
else:sys.path.append(localconfig.linuxpath)
import pywikibot
import json
def main():
    globe.getUserList()
if not globe.startAllowed():
        print "Fatal - System Access Denied."
        sys.exit(1)
        print "System Alert - Program Still running."
main()
Beispiel #2
0
Datei: UAA.py Projekt: dqwiki/UAA
#! /usr/bin/python
import sys, localconfig, platform, time
#OS Runtime comments
if platform.system() == "Windows":
        sys.path.append(localconfig.winpath)
        print "You are running DeltaQuadBot UAA Module for Windows."
else:
        sys.path.append(localconfig.linuxpath)
        print "You are running DeltaQuadBot UAA Module for Linux."
import globalfunc as globe
override = False
if not globe.startAllowed(override):
        print "Fatal - System Access Denied."
        sys.exit(1)
        print "System Alert - Program Still running."
globe.main()
globe.checkWait()
globe.pageCleanup()