def init_Load_Pro(): gc.collect() return Load.load_Project()
ROOT, D_NAME, F_NAME = ___init___.init_Load_Pro() count = 0 if D_NAME != []: for directory in D_NAME: count += 1 print(str(count) + ".) " + directory) if F_NAME != []: for file in F_NAME: count += 1 print(str(count) + ".) " + file) while True: #code,msg = ___init___.init_Start() #Load.load_FileDir() cpath = Load.load_Project() print(cpath[0]) Choise = input("What Do You Want To Do? ").upper() if Choise == 'E' or Choise == 'EXIT': break elif Choise == 'B' or Choise == 'Back': Choise = 'B' BASE = Load.load_Path_Match(ROOT) CWD = os.getcwd() CWD = Load.load_Path_Match(CWD) if BASE < CWD: os.chdir("..") NEW_ROOT, D_NAME, F_NAME = Load.load_CWD(os.getcwd()) Load.load_List_FileDir(D_NAME, F_NAME) else: