[Tutor] what variables are in the memory
Charlie Derr
charlie@intelligenesis.net
Fri, 4 Aug 2000 15:37:36 -0400
|-----Original Message-----
|From: tutor-admin@python.org [mailto:tutor-admin@python.org]On Behalf Of
|Zuohua Zhang
|Sent: Friday, August 04, 2000 2:48 PM
|To: tutor@python.org
|Subject: [Tutor] what variables are in the memory
|
|
|Dear Sir,
|How to find out what variable are in the memory?
if i understand you correctly the following will work:
>>>dir()
though that will give you all namespace objects (functions, etc...) - not
just variables
|Is there a way to get help info. on functions? Sth like help funcname?
I think your best bet is to view the html documentation -- i find mine in
C:\Python\Doc\ -- depending on your platform (and installation directory),
you should be able to find it in a similar subdirectory. Also, it's
available on-line http://www.python.org/doc/current/. Use the module index
to locate the function you are interested in.
good luck,
~c
|
|Thanks a lot.
|Zuohua Zhang.
|
|
|_______________________________________________
|Tutor maillist - Tutor@python.org
|http://www.python.org/mailman/listinfo/tutor
|