Python dir() built-in function
Examples
>>> dir()
# ['__annotations__', '__builtins__', '__doc__', ...]
>>> dir(1)
# ['__abs__', '__add__', '__and__', '__bool__', ...]
>>> dir('a')
# ['__add__', '__class__', '__contains__', ...]
>>> dir()
# ['__annotations__', '__builtins__', '__doc__', ...]
>>> dir(1)
# ['__abs__', '__add__', '__and__', '__bool__', ...]
>>> dir('a')
# ['__add__', '__class__', '__contains__', ...]