Dive deep into the intricacies of Python's import mechanism in this 28-minute conference talk from EuroPython 2015. Explore the journey from source file to Python module object, uncovering lesser-known features like importing from zip archives, writing CPython modules in C or Lisp, and even importing from URLs. Unravel the complexities of the import statement, from searching PYTHONPATH to understanding packages, import loops, and custom importers. Gain insights into the subtle details and deep internals of C extension loading, equipping yourself with advanced knowledge to enhance your Python programming skills.
Overview
Syllabus
Intro
Import
Import Algorithm
Loading
Modules
Loading Modules
Questions
Time to Bits
Taught by
EuroPython Conference