Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/Python Project/
Python Convention
Search

Python Convention

Creator
Creator
Seonglae Cho
Created
Created
2020 Feb 28 3:22
Editor
Editor
Seonglae Cho
Edited
Edited
2023 Jun 20 14:41
Refs
Refs

module(file) and package(directory)

 
 
 
 
How many classes should I put in one file?
I'm used to the Java model where you can have one public class per file. Python doesn't have this restriction, and I'm wondering what's the best practice for organizing classes. Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.
How many classes should I put in one file?
https://stackoverflow.com/questions/106896/how-many-classes-should-i-put-in-one-file
How many classes should I put in one file?
SigmaQuan/Better-Python-59-Ways
Code Sample of Book "Effective Python: 59 Specific Ways to Write Better Pyton" by Brett Slatkin - SigmaQuan/Better-Python-59-Ways
SigmaQuan/Better-Python-59-Ways
https://github.com/SigmaQuan/Better-Python-59-Ways
SigmaQuan/Better-Python-59-Ways
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Software Engineering/Programming/Programming Language/Programming Languages/4GL/
Python
Python
/Python Project/
Python Convention
Copyright Seonglae Cho