help()
Built-in FunctionPython 2.0+Beginner
Invokes the built-in help system for an object or topic
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
Learn by Difficulty
Quick Example
python
# help() opens interactive help (not shown in Pyodide) print("help() provides documentation for any object") print("Usage: help(str), help(list.append), etc.")
help() is a built-in function that invokes the built-in help system for an object or topic.
Try in PlaygroundTags
builtinfunctioncoredocumentationinteractive