Topics in the Program

  • 1. Setting up your Environment
  • 2. Basic Python
  • 3. Booleans and Recursion
  • 4. Sequences and Iteration
  • 5. Basic Text Handling
  • 6. Exception Handling
  • 7. Unit Testing
  • 8. Dictionaries and Sets
  • 9. File Handling
  • 10. Modules and Packages
    • Style and Naming
    • Code Structure, Modules, and Namespaces
    • Documentation
    • Packages and Packaging
    • A Small Example Package
    • Mailroom – as a Python Package
  • 11. Advanced Argument Passing
  • 12. Comprehensions
  • 13. Intro to Object Oriented Programing
  • 14. Properties and Magic Methods
  • 15. Subclassing and Inheritance
  • 16. Multiple Inheritance
  • 17. Introduction to Functional Programming
  • 18. Advanced Testing
  • 19. Extra Topics
Programming in Python
  • 10. Modules and Packages
  • View page source
Previous Next

10. Modules and Packages

To Read

  • Style and Naming
  • Code Structure, Modules, and Namespaces
  • Documentation
  • Packages and Packaging

Activities

  • A Small Example Package

Exercises

  • Mailroom – as a Python Package
Previous Next

© Copyright 2025, Natasha Aleksandrova, Christopher Barker, Brian Dorsey, Cris Ewing, Christy Heaton, Jon Jacky, Maria McKinley, Andy Miles, Rick Riehle, Joseph Schilz, Joseph Sheedy, Hosung Song. Creative Commons Attribution-ShareAlike 4.0 license.

Built with Sphinx using a theme provided by Read the Docs.