i have a problem when i run a new file it just run a old file main.py
Hey @elyass2022 welcome to the forums!
Please edit the entry point in the .replit
file to change what file is ran
4 Likes
Hey @elyass2022, welcome to the community!
Just click the three dots then click “Show hidden files”. Next click on the .replit
file and finally you can change the entrypoint
to whatever file you want to run.
You can also change the second line from run="run_command_for_lang main.py"
to run="run_command_for_lang fileIWantToRun.py"
, though it won’t have an effect for interpreted languages as shown in the comment on line 1.
Also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl
1 Like