In a python project, when should you use __init__.py, __main__.py, and just normal .py?
Say I am making a pdf editor app with the following structure: ├── main.py ├──
Say I am making a pdf editor app with the following structure:
├── main.py
├──
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
May 9, 2025 0
May 2, 2025 0
Apr 30, 2025 0
Apr 27, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
May 7, 2025 0
May 5, 2025 0
May 2, 2025 0
May 9, 2025 0
May 9, 2025 0
May 9, 2025 0
May 8, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Or register with email
Say I am making a pdf editor app with the following structure:
├── main.py
├──
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
Apr 26, 2025 0
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies.