Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
5

no such file:main.py

Savez
Savez

Can someone help me with this error "no such file: main.py". Thanks

1 year ago
You are viewing a single comment. View All
1
1
Savez
Savez

@MrVoo
Im new to coding, can you elaborate as in what do you mean by add a main.py file. Do I make a new file called main.py and copy in the code?

1 year ago
1
Savez
Savez

@MrVoo
When i create a new file outside of the folder and import the code into the new file the same error still pops up.
Help would be appreciated.

1 year ago
1
MrVoo
MrVoo

@Savez
No, that's a different error. You need to fix indentation on line 36

1 year ago
1
Savez
Savez

@MrVoo
Any advice on how to fix it?

1 year ago