Sunday, March 24, 2013

List all built in functions in Python Shell

type the following command in Python Shell to List all built in functions:

>>> dir(__builtins__)

note: There are two leading and trailing underscore characters, "_".

List all built in functions in Python Shell with dir(__builtins__)
List all built in functions in Python Shell with dir(__builtins__)