Get all object attributes in Python? [duplicate]

Use the built-in function dir().

Leave a Comment