[SciPy-user] Ipython "run"

Ryan Krauss ryanfedora at comcast.net
Wed Aug 24 08:55:04 CDT 2005


I think this will work:
import foo
reload(foo)
from foo import *

Otherwise you may need to avoid the from foo import * during module 
development.

Ryan

Howey, David A wrote:
>>Not really: what you describe is pretty much what I always do.  Many of
> 
> my 'top-level' scripts which use modules >I'm in the middle of
> modifying, look like:
> 
> 
>>import foo
>>reload(foo)
>>foo.dostuff()
> 
> 
> Thanks for this. What about when you're using 'from foo import *' to get
> things into the same namespace? Then reload doesn't seem to work.. I
> know it's a general python question.. Will have a dig into 'Learning
> Python' for an answer when I get home!
> 
> Dave
> 
> 
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
> 



More information about the SciPy-user mailing list