The knee Module
The knee module is a Python reimplementation of the package import mechanism that was introduced in Python 1.5. Since this is already supported by the standard interpreter, this module is mainly provided to show how things are done in there. It does work, though. Just import the module to enable it, as Example 14-30 shows.
Example 14-30. Using the knee Module
File: knee-example-1.py import knee # thats all, folks!
Категории