I've make two separate program and make a main.py to as menu so that i can choose what file to open.
I wrote it like this
While True:
print("Menu 1")
print("Menu 2")
...
choice = input(">")
if choice =="1":
import file_1
elif choice =="2":
import file_2
At first it work, but when get out of file_1 or any file inside that, the import are not open again.
Does import cannot open file twice?