I have a file which I am playing around with and defining functions, however, I have noticed a curious thing. When I define a new function in the script I then have to close the console before I can import the newly defined functions. When I don't close the console, I get the following error.
Traceback (most recent call last):
File "<input>", line 1, in <module>
ImportError: cannot import name 'simple_mul'
simple_mul is my new function. What is the reason for this? Am I not saving the script correctly?