I want to see all the variables

Larry Bates larry.bates at websafe.com
Fri Dec 29 09:20:22 EST 2006


johnf wrote:
> Hi,
> When I use dir() I don't see the __ underscore items.  Is there anything
> that will show all the private vars and functions?
> 
> johnf

The idea of the underscore items is that they aren't to be used by
you.  If you wish to access private variables and functions you will
almost certainly have to look at the source code to make sure of
what they are and how they can be utilized.

-Larry



More information about the Python-list mailing list