Timeline for Python file naming convention?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 17, 2023 at 13:08 | comment | added | helloworld | @mirageglobe importing modules from my-test-script.py wouldn't be as straight forward as my_test_script.py, I guess. | |
Aug 21, 2022 at 14:43 | comment | added | mirageglobe |
well since there is no clear distinction between the two, i would keep filenames to my-test-script.py for readability. my_test_script.py looks good but might have all sorted of weird contradictions with PEP?
|
|
Feb 1, 2022 at 14:10 | comment | added | MEMark | Yes and no. A module is usually a file. (Not my favourite part of Python.) | |
Aug 24, 2021 at 20:43 | comment | added | Grant Birchmeier | This answer crucially misses the filename part of the question. | |
Oct 11, 2019 at 10:16 | history | answered | Vlad Bezden | CC BY-SA 4.0 |