Help me releted to running the project

guys I am a beignner but I don’t know why when ever I run my project it runs the main py but not the other even if I close it runs that tab and if i # them than nothing would happen

Replit Profile:

1 Like

Welcome to the forums, @laxmendrakashya !
It’s supposed to only run one file, which is by default. To run any other file, you would have to go to the .replit file, as shown in the image below:

You should see this code shown:

entrypoint = ""
modules = ["python-3.10:v18-20230807-322e88b"]

channel = "stable-23_05"

language = "python3"

requiredFiles = [".replit", "replit.nix"]

run = ["python3", ""]
deploymentTarget = "cloudrun"

Now, replace the the first line, which is

entrypoint = ""

with the file you want to run.
Warning: Don’t remove the double quotes!
Hope it helps!


sir what should I replace it with

The file you want to run.