I am learning python and to test and debug the class I am creating I need to be able to reload it in the live python interface. My file is OderedDictionary.py
I import it doing
import OderedDictionary
I read that to reload it I shoud do OderedDictionary.reload()
since I am using python3.7, but I get a:
AttributeError: module 'OrderedDictionary' has no attribute 'reload'
I also tried to use reload(module)
directly, but I got this:
NameError: name 'reoad' is not defined
Maybe I misunderstood something?
Thanks