I'm using Canopy for running Python scripts on my Windows PC and facing a problem. I have my functions defined in one script and am calling those functions in another script.
My problem is that when I update and save my functions in Script 1, my other Script 2 still seems to refer to the old code.
I've tried closing both scripts and reloading them, and restarting the Canopy editor, but nothing seems to work consistently.
Has anyone encountered the same problems?
Code:
Script1.py
def foo: #Some code
Script2.py
import Script1 Script1.foo()