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

















