Im having a problem in my code, its says "My file does not exist"

Why is it showing no such file or directory exists?

https://replit.com/@20navya12/Python#space_rock/game.py

Your file game.pyis located in the space_rock folder, which means you need to write the line space_rock/game.py to entrypoint.

4 Likes

but i need to run the space rock folder in a group for the code.

You need to run each file? You should be able to make one Python file and either import all the other ones, or import os and use os.system("python filename.py") to run a file.

3 Likes

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