importlib.__init__, then catch the KeyError raised, not ImportError.
Attach a file by drag & drop or click to upload