[SciPy-user] Newbie and Old matlab user
Alan G Isaac
aisaac at american.edu
Thu Oct 13 10:39:41 EDT 2005
On Thu, 13 Oct 2005, Fernando Perez apparently wrote:
> Finally, the 'from s2 import *' idiom breaks all this, I think. You can try
> this, but I'm not sure it works (I think it doesn't):
The docs say:
If a module imports objects from another module
using from ... import ..., calling reload() for the
other module does not redefine the objects imported
from it -- one way around this is to re-execute the
from statement, another is to use import and
qualified names (module.name) instead.
In any case, maybe the OP could just use execfile:
http://docs.python.org/lib/built-in-funcs.html#execfile
Cheers,
Alan Isaac
More information about the SciPy-User
mailing list