The Python Papers

The Python Papers

Logging from Multiple Modules with Python

Mike Driscoll's avatar
Mike Driscoll
Aug 05, 2026
∙ Paid

As a beginner, you usually write your application code in a single file. But soon, you’ll find that you have hundreds or thousands of lines of code in a file, which can become hard to manage.

Then, you break up your code into multiple files. In Python, each Python file is considered a module. A group of related modules is called a package.

Why does that m…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2026 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture