[Tutor] Variables in workspace

Eli Brosh ebrosh at nana10.co.il
Sat Oct 13 11:04:05 CEST 2007


Hello
I am working with python interactively using IDLE.

Since starting, I defined some variables:
s='string'
a=1
b=[1,2]
c=1.02

and so on.

Now, I want to know which variables are in my workspace.
That is, is there a command similar to "who" in MATLAB ?
I want to call "who"
and get the output:
s a b c
(a listing of all the variables I defined in the session)

Now, is there a way to clear some or all the variables in that list ?


Thanks
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071013/285f8e22/attachment.htm 


More information about the Tutor mailing list