+ 1
Python Program Structure: How?
What is the recommended or conventional structure of any given Python program? For example, are all classes and functions defined first before the main code, or is it usually done in some other order? I'm previously used to Java programming, and the source code structure there seems to be somewhat different than in Python.
1 Réponse
+ 1
usually yes, classes and methods are defined before the main code