Skip to content
How do I change which file to run?
Profile icon
STEPHENYOON1057

When I tried to run my files after renaming them, it just said "No such file: main.py
repl process died unexpectedly: exit status 2?"
How do I change this so that it runs the renamed files?

You are viewing a single comment. View All
Profile icon
LiamJayCoderALT

The question is totally valid so don't worry about it! Note that only the main.py runs so you have to import your auxilary files in main.py. If you include this code in main.py, from fonctiontest import *, the program will be able to use your code from fonctiontest.py.