import module as name

22 views
Skip to first unread message

Boštjan Mejak

unread,
Jul 23, 2015, 7:19:12 AM7/23/15
to wxPython Help
Using my importer module, how can I make the function tryToImport() accept the 'as name' part of the import? Does importlib.import_module() even have such functionality?
importer.py

tjohnson

unread,
Jul 23, 2015, 9:09:57 AM7/23/15
to wxPython-users, bostjan...@gmail.com
I have edited your module to add this functionality and attached the new version.
importer.py
Reply all
Reply to author
Forward
Message has been deleted
0 new messages