"M.-A. Lemburg" <mal@lemburg.com> writes: > But why store the import objects in sys.path and not in > some auxilliary dictionary instead ? What would be the advantage of doing so? And, if this is done: How can I add my own custom import mechanism to sys.path? The machinery to replace strings in sys.path is only available for zip files, all other hooks must add their objects to sys.path directly. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4