object.*
Anthony Baxter
anthonybaxter at gmail.com
Thu Aug 26 11:56:56 EDT 2004
On 26 Aug 2004 08:41:25 -0700, DeadWisdom <deadwisdom at wisefool.net> wrote:
> I think there should be an ability in python to write something like
> "object.*" which should return a dictionary object containing all the
> members and their values for the given object. Maybe ".*" could be
> treated as an operator. ::shrug::
Ick. Please don't. If you want to do this, look at the 'dir()' builtin.
http://www.python.org/dev/doc/devel/lib/built-in-funcs.html#l2h-20
More information about the Python-list
mailing list