+ 1

See through object.

How can we see inside an object? It gives me something like __main__ ClassName object at <0x01029...>

19th Jul 2016, 7:18 PM
Ankit Gangwal
Ankit Gangwal - avatar
1 Réponse
0
Generally you can do something like: object.__dict__ If __dict__ is defined in the object, it will return a dictionary with some data regarding that object
19th Jul 2016, 8:20 PM
jj Fer
jj Fer - avatar