The dir() function returns an object’s attributes. Unfortunately, it doesn’t reveal everything — discover how to find all attributes…
Originally appeared here:
Don’t Let the Python dir() Function Trick You!
Go Here to Read this Fast! Don’t Let the Python dir() Function Trick You!