Chapter 12. Modules

Chapter Topics

  • What Are Modules?

  • Modules and Files

  • Namespaces

  • Importing Modules

  • Importing Module Attributes

  • Module Built-in Functions

  • Packages

  • Other Features of Modules

This chapter focus on Python modules and how data is imported from modules into your programming environment. We will also take a look at packages. Modules are a way to organize Python code, and packages help you organize modules. We will conclude this chapter with a look at other related aspects of modules.

Get Core Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.