Fixed Is there a function in Python to print all the current properties and values of an object? #dev #it #asnwer
Fixed Is there a function in Python to print all the current properties and values of an object? #dev #it #asnwer
Is there a function in Python to print all the current properties and values of an object?
So what Iâm looking for here is something like PHPâs print_r function. This is so I can debug my scripts by seeing whatâs the state of the object in question.
Answer: Is there a function in Python to print all the current properties and values of an object?
To dump âmyObjectâ:
from bson import json_utilâŚ
View On WordPress















