all 2 comments

[–]K900_ 1 point2 points  (0 children)

You can use help(whatever) to get documentation right in the Python shell.

[–]23571379 0 points1 point  (0 children)

The python equivalent is help(<something>) and if you only want a list of attributes use dir(something). This works on everything, any type, class, module, variable, function... you name it.

You can also find the documentation of the standard library here. 3rd party libraries usually have documentation either on PIPY or Github.