[SciPy-user] Namespace Questions
Bill Alexander
w.f.alexander at ieee.org
Thu Feb 20 01:27:45 EST 2003
Straight from Page 2 of the _Python_Essential_Reference_, among other
places. Sometimes secrets hide in the open. I am quite embarrassed.
Many thanks.
- Bill
On Wed, 2003-02-19 at 22:18, David Ascher wrote:
> Bill Alexander wrote:
>
> >Chalk these up to the "I want it like Matlab" category... My apologies
> >for the length.
> >
> >What I'd like to do is invoke scripting commands from an interactive
> >python session from the global namespace. In Matlab, all m-file scripts
> >are members of and operate within the invoking namespace, whereas
> >functions create a private interior namespace for operation. I want to
> >be able to mimic the no-namespace-change scripts of Matlab from within
> >the Python interactive shell.
> >
>
> Look at execfile()
>
> --da
>
> _______________________________________________
> 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