
gagsl-py2 at yahoo
Nov 5, 2009, 11:10 PM
Post #2 of 2
(101 views)
Permalink
|
|
Re: listing an object's methods/attributes?
[In reply to]
|
|
En Fri, 06 Nov 2009 03:48:48 -0300, Robert P. J. Day <rpjday [at] crashcourse> escribió: > getting back into python after a long hiatus and "diving" into > python 3 (http://www.diveintopython3.org/), but i can't remember how > to list an object's full set of methods or attributes. how does that > go again? Try dir(the_object), vars(the_object), help(the_object), see(the_object) - this last one a hidden gem from http://github.com/inky/see (see is "dir for humans") -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list
|