Is there a built-in function to print all the current properties and values of an object?
You want vars() mixed with pprint():
from pprint import pprint
pprint(vars(your_object))
You want vars() mixed with pprint():
from pprint import pprint
pprint(vars(your_object))