help

help built-in function

help() # object passed help(list) help(dict) help(print) help([1, 2, 3]) # string passed help('random thing') help('print') help('def') from math import * help('math.pow')

When a string is passed, provided string is looked up as the name of a module, function, class, method, keyword, or documentation topic.