Advanced Python Training
In Chicago with David Beazley

  • Practical Python Programming
  • Advanced Python Mastery
  • Write a Compiler
  • Click here for more details!

    Modules and Packages: Live and Let Die!

    Copyright (C) 2015
    David M. Beazley

    Presented at PyCon'15, April 9, 2015, Montreal.


    Every Python programmer has to learn the basics of using modules and packages to get by. However, modules are also a frequent source of programming confusion. This tutorial aims to put a modern spin on the topic of modules and packages. Topics range from the absolute basics of using import to advanced techniques such as using import hooks. Python 3.4 or newer is recommended.

    Support Data Files

    Supporting code samples are available on GitHub. Also available in the following ZIP file: