0

I created a python file with some functions that I call several times from another jupyter notebook for testing, etc. However whilst testing I found an error in one of the functions, and fixed the issue in the origin python function and saved it. However when i called the function from the external python file in my jupyter notebook, it kept calling the unupdated version of the function instead of the updated version, I tried closing and reopening the python file without any success, eventually I got it to work after I closed my jupyter notebook and shutdown the notebook and then restarted it. This is quite inconvenient though especially for testing purposes so I was wondering if there is an better way to use the external python file especially when I update it...

Below is how I get the other python file in jupyter notebook, not sure if something there might be messing things up

from external_functions import *
A. Nigam
  • 129
  • 2
  • 6

0 Answers0