[SciPy-user] Namespace Questions
19 Feb 2003 22:27:45 -0800
Straight from Page 2 of the _Python_Essential_Reference_, among other
places. Sometimes secrets hide in the open. I am quite embarrassed.
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()
> SciPy-user mailing list