global stack #Initialize the main stack print("Initializing main thread stack") time.sleep(.4) stack = Queue() time.sleep(.4) print("Thread stack prepared") #Securing server print("Beginning to secure server") time.sleep(.4) mallCop = Security.Secure() mallCop.patrol() time.sleep(.4) print("Server secured") #Set home CurrentDirectory = os.path.dirname(os.path.abspath(__file__)) os.chdir(CurrentDirectory) time.sleep(1) print("Home directory set") #Move stocks from database to active list def poolBuild(database,Verbose):