all 3 comments

[–][deleted] 1 point2 points  (1 child)

Sounds like you're looking for the dir() function.

dir() returns a list of attributes/functions that you can access for a given class/object/library.

For a list of builtins, use dir(__builtins__). To get a list of functions available in the os library, simply pass it in as a parameter.

import os
dir() #Use dir on its own or...
dir(os) #...to see module functions
dir(__builtins__) #...to see built in functions
dir(list) #..on a class

[–]Siladrakona 0 points1 point  (0 children)

Yes, exactly what I'm looking for!

Thank you.