I have created a module of functions in the form of a separate module.py file. I make updates to the functions in the module as I develop my code. However, when I go back to the run file (main) to call the updated functions, the updates have not been picked up (i.e., the run file calls the old version of the function), and often aren't picked up unless I re-start PyCharm.
I have tried:
Saving the module.py file, then reimporting it in the run file before calling functions from it
Clearing the console using Rerun (green curved arrow in console) before re-running the script
Adding a 'reload(module)' statement in before the function call in the run file
(For the avoidance of doubt, the import statement for the module is in the run file and works the first time I call it. It just doesn't efficiently pull through updates when I reimport it).