In Python there is a built-in function called dir. This is used to get a list of all the attributes for an object.
dir
I understand what it does, but I am
IIRC I named it after the DIR command in DOS.
DIR