Forgetting an import
larry.bates at websafe.com
Tue Jun 12 19:12:18 CEST 2007
HMS Surprise wrote:
> I imported a set of functions from a file I wrote to interpreter
> from myFile import *
> Now if I change functions in this file how can I make python forget it
> so I can force a fresh import?
While there may be ways of doing this, I have found that you are much
better off opening another window and run your script from the bare
OS. It will help you catch problems that you may miss in the
interpreter shell. It also solves this problem completely.
More information about the Python-list