Dec-11-2018, 08:09 PM
(This post was last modified: Dec-11-2018, 08:09 PM by Gribouillis.)
If lib is a module name, you would be better off with
lib = importlib.import_module(lib)You could also catch ImportError and report it in the GUI if there is no such module.