Conversation
Notices
-
@whilefalse: print(obj.__dict__) should do something similar to what you want
-
@whilefalse Can't you just use the regular print() (or print statement in <2.6) function !python
-
@whilefalse i guess you mean dir()
-
@whilefalse maybe you should take a look at the __dict__ property or use the dir() method !python
-
@whilefalse You may be looking for dir() or print(obj.__dict__) as ways to dump object information in !python
-
@whilefalse look at the pprint module
-
@whilefalse !python I miss print_r() most objects you can just print and it'll sorta do what print_r does.
-
@whilefalse pprint (from module pprint)
-