June 2019
Beginner to intermediate
770 pages
19h 24m
English
We have a deep hierarchy of packaging techniques. We can simply organize the functionality into defined functions. We can combine the defined functions and their related data into a class. We can then combine related classes into a module. Lastly, we can combine related modules into a package.
When we think of software as a language to capture knowledge and representation, we have to consider what a class or module means. A module is the unit of the Python software construction, distribution, use, and reuse. With rare exceptions, modules must be designed around the possibility of reuse.
In most cases, we'll use a class, because we expect to have multiple objects that are instances of the class. Often – ...
Read now
Unlock full access