Monday, July 22, 2013

Print attributes of python object

from pprint import pprint
pprint (vars(your_object))

No comments:

Post a Comment