import turtle
print(dir(turtle))
>>> dir(example)
['__builtins__',
'__cached__',
'__doc__',
'__file__',
'__initializing__',
'__loader__',
'__name__',
'__package__',
'add']
my_set = {1, 2, 3}
# prints a list of an object properties and methods
print(dir(my_set))