I\'m using python 3.2.2. When I write a simple program, I meet the problem.
>>> reload(recommendations) Traceback (most recent call last): File \"
An update to @Gareth Latty's answer. imp was depreciated in Python 3.4. Now you want importlib.reload().
imp
importlib.reload()
from importlib import reload