import sys import os cwd = os.getcwd() sys.path.append() from generate_list import printIt count = 0 while (count <= 1000): print(printIt(), count) count = (count + 1)
#! Insert the current diractory path to Python path import sys import os cwd = os.getcwd() sys.path.append(cwd) #print (sys.path) #Test the module: generate_list from generate_list import printIt for i in range(1000): printIt()
def main(): printIt()