List of declared variables in interactive Python session?

vincent wehren v.wehren at home.nl
Sat Jul 19 16:42:26 EDT 2003


"Fredrik Fornwall" <frefo253 at student.liu.se> schrieb im Newsbeitrag
news:pNdSa.397$Y5.120 at nntpserver.swip.net...
> Hello.
>
> Is there a way to list all the declared variables in an interactive
> Python session?

use "vars() "

HTH,

Vincent Wehren

>
> Thanks,
> Fredrik
>






More information about the Python-list mailing list