How can I change the file of code which should be executed in the console, I am getting only the main file to be executed every time I run the code, please help me out of it.
Welcome to the community, @gourish-mokashi! Give me a sec and I can send you some screenshots!
So as you can see, I am trying to have the repl use the animal.py
folder. First, you click the 3 dots, then, show hidden files:
Then, you go to the .replit
file:
Finally, change the entrypoint = "main.py"
to whatever file you would like it to use:
Now, it uses the animal.py
file instead of the main.py
file:
Hope this helps you!
*file not folder
Great explanation though
1 Like