YouTip LogoYouTip

Python Func Help

# Python2.x Python help() Function [![Image 3: Python Built-in Functions](#) Python Built-in Functions](#) * * * ## Description The **help()** function is used to view detailed documentation for a function or module. ## Syntax help syntax: help() Parameter explanation: * object -- The object; ## Return Value Returns the help information for the object. ## Example The following examples demonstrate the usage of help: >>>help('sys')# View help for the sys module ……Displays help information…… >>>help('str')# View help for the str data type ……Displays help information…… >>>a = [1,2,3]>>>help(a)# View help for the list object ……Displays help information…… >>>help(a.append)# Display help for the list's append method ……Displays help information…… [![Image 4: Python Built-in Functions](#) Python Built-in Functions](#)
← Python Func DictPython Func Hash β†’