Reimport a module in python while interactive
You can solve the python re import module error, by using the importlib and its function reload. import importlib importlib.reload(some_module) If you are using python 3.2 or 3.3 you can use the following code:- import imp imp.reload(module)
Answered Apr 2, 2021 · 733 Views Read answer →