Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Getting the Most Out of Python Imports

A session at PyCon US 2012

To really take advantage of Python you must understand how imports work and how to use them effectively. In this talk we'll discuss both of these. After a short introduction to imports, we'll dive right in and look at how customizing import behavior can make all your wildest dreams come true.

Python's import statement has been a powerful feature since the first release, and only gotten better with age. Understanding how imports work under the hood will let you take advantage of that power.

A big key to customizing Python's imports is the importers introduced by PEP 302. That's a tool that you want in your belt! We'll be covering such import hooks as well as a couple other customization methods.

About the speaker

This person is speaking at this event.
Eric Snow

Next session in E1

2:55pm Sharing is Caring: Posting to the Python Package Index by Luke Sneeringer

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 2:15pm2:55pm PST

Date Sat 10th March 2012

Short URL

lanyrd.com/spcdk

Official session page

us.pycon.org/…e/presentation/17/

View the schedule

Topics

See something wrong?

Report an issue with this session