Lean Python pp 43-45 | Cite as

Using Modules

  • Paul Gerrard


Once you have more than a hundred (or several hundred) lines of code in one Python file, it can be a little messy to manage all the functions and classes in the same place. Splitting your code over two or more module files that each cover one aspect of the functionality can simplify matters greatly.


Good Evening Internal Variable Import Statement Module Import Module Mod1 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Paul Gerrard 2016

Authors and Affiliations

  • Paul Gerrard
    • 1
  1. 1.MaidenheadUK

Personalised recommendations