When using external libraries or working with complex classes in Python, you may sometimes wonder, "What kind of methods does this object actually have?" You can find out by reading the documentation, ...
# The dir() function returns a list of valid attributes for the specified object. # When called without arguments, it returns a list of names in the current local scope. # When called with an object ...