On Fri, 14 Jan 2005 09:30:46 +0100, Dimitri D'Or
<[EMAIL PROTECTED]> wrote:
> Thank you for your answer. Actually, my question is not specific to
> interactive sessions. I've written a script that loads some modules, create
> variables and show figures. What I would like to find, is a command for
possible to
do
such a thing?
I'm coming from the Matlab world and I want to find equivalents for the
"clear" and "close" matlab commands.
Thank you for your help,
Dimitri
-Message d'origine-
De : Michael Janssen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 13 ja
ython.org
Objet : Re: [Tutor] reinitializing namespace
I think you may be looking for something that is not needed in Python or
that you can easily do
another way.
If you are running a script from the command line, e.g.
> python myscript.py
then myscript.py will have a completely fresh runtime
ands.
Thank you for your help,
Dimitri
-Message d'origine-
De : Michael Janssen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 13 janvier 2005 19:29
À : Dimitri D'Or
Cc : tutor@python.org
Objet : Re: [Tutor] reinitializing namespace
On Thu, 13 Jan 2005 13:20:11 +0100, Dimitri D'Or
<[EMA
7;origine-
De : Michael Janssen [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 13 janvier 2005 19:29
À : Dimitri D'Or
Cc : tutor@python.org
Objet : Re: [Tutor] reinitializing namespace
On Thu, 13 Jan 2005 13:20:11 +0100, Dimitri D'Or
<[EMAIL PROTECTED]> wrote:
> For some purpose, I
On Thu, 13 Jan 2005 13:20:11 +0100, Dimitri D'Or
<[EMAIL PROTECTED]> wrote:
> For some purpose, I would like to reinitialize the main namespace, i.e. I want
> to delete all the variables I have created through the use of functions or
> keyboard entries.
Hello Dimiti,
sound like you're talking ab