how to add custom importer after the normal imports
Gelonida N
gelonida at gmail.com
Wed Oct 8 06:53:41 EDT 2014
More information about the Python-list mailing list
Wed Oct 8 06:53:41 EDT 2014
- Previous message (by thread): [RELEASE] Python 3.4.2 is now available
- Next message (by thread): how to add custom importer after the normal imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I just read about sys.meta_path, which allows to install custom importers *BEFORE* the default importers. However I have a use case where I would like to add a custom importer *AFTER* all other import methods have failed. Does anybody know how to do this. One way of implementing this would be to add the default importer as first entry in sys.meta_path. My only problem is, that I don't know how to create a 'default-importer', such that I can add it into sys.meta_path Thanks in advance for any suggestions
- Previous message (by thread): [RELEASE] Python 3.4.2 is now available
- Next message (by thread): how to add custom importer after the normal imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list