I'm trying to reload a module I have already inputted.
I understand that you only need to input once and retyping the input command won't produce the same affect without having had exited out of python's command prompt.
I just don't understand why this statement: reload (script4.py)
is giving me:
Traceback (most recent call last):
File "(stdin)", line 1, in (module)
NameError: name 'reload' is not defined
Also can someone explain step by step what that error message means?
AFTER FIRST 2 ANSWERS:
Using reload(script4)
does NOT reload the module.
name reload is still "not defined".