How do I change which file to run?
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?
What do we have to input to get that error? Also to run your file, you have to do:
from file_name import * # imports everything from that file # or from file_name import module_name # you can imports variables, functions, etc.
Is this what you wanted? Not quite sure.. :)
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
from fonctiontest import *, the program will be able to use your code from
make sure the file name in the code is correct...