Python Function Not working
RobertFurr (55)

I was working on a new game and when I went to test the following:

if choice == 1:
  os.system("startgame.py")
if choice == 2:
  os.system("python readme.py")

No matter what I input, it won't open any files! It just stops the program. I went back to another program which I know works with this kind of function and it did the same thing. Was repl updated and this function removed?

You are viewing a single comment. View All
Answered by CodeLongAndPros (1365) [earned 5 cycles]
View Answer