Hi, I have 2 versions of one module I would like to test them by just changing the import statement and re-running the script. But in practise after running the first module and changing the import to the next module. The script still uses the first run module.
You can try using reload
from importlib
module, to load new version of changed module.
1 Like