Only main.py file working

in python when i rename the main.py it says main.py not found i want to run more file rather than main.py

Hey, @ATROC welcome to the forums!

You can modify the entry point I’m the .replit file to run a different file.

so what should right in .replit file??

The file already exists it’s just hidden.on the top right of the file explorer press the three dots then show hidden files

ok i found it so what should i do in that file

Change the value of the entry point to the name of the file you want to be ran.

so can i create multiple entrypoints and run multiple files?

Only 1 entrypoiny is possible I believe.

ok i get it now
thnx for help

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.