Das D Das D - 7 months ago 43
Python Question

how to get help options for data types in python

using below for loop to see all help options for dictionaries

for me in dir(dict):
if not me.startswith("__"):

error is AttributeError: type object 'dict' has no attribute me

Once resolve it i can see all data types help options


pivoting from the only answer and your question:

for me in dir(dict):
    if not me.startswith('__'):
        help(getattr(dict, me))