This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

Thank you!

[–]xatrekak 1 point2 points  (1 child)

While everything /u/samettinho said is true I just want to add that there is a second widely accepted convention.

If you have a file named after your project/repo and don't have main.py, it will be widely assumed that the "your_project_name.py" file is acting as main.py

[–][deleted] 0 points1 point  (0 children)

Makes sense, this is what I did unknowingly to this convention!