Reloading module giving NameError: name ‘reload’ is not defined

reload is a builtin in Python 2, but not in Python 3, so the error you’re seeing is expected.

If you truly must reload a module in Python 3, you should use either:

Leave a Comment