I try to list all the attributes of an object in Python pdb.
Let's say I want to list all the attributes and all methods of sys.stderr.
sys.stderr
How can I do that?
For pdb, you should be able to do p dir(a).
p dir(a)
1.4m articles
1.4m replys
5 comments
57.0k users