Reloading a module
I'm new to python and I may be going a bit crazy but how do you reload an imported module? I created a simple module that I import into my project. I then went back and made changes to the module and the script keep running the prior version before changes. The only way I was able to reload the updated module was to clear Pythonista from memory and reload it.
It seems like Pythonista might have bugged out. After the restart files are updating and loading correctly.
It worked for a few minutes then it stopped updating the module when I made changes. I must be doing something wrong.
ccc last edited by
A fair amount has been written on this topic. The first thread is probably the most instructive.
@ccc Thanks for the links. Solved the problem.