Python interactive help mode

Python provides an interactive help mode inside the interactive Python interpreter.

This tutorial provides some basic on how to use the help mode.

Enter the help mode

To use it, start the Python interpreter (or, IDLE), and then type help() and press Enter to start the interactive help mode.

Python help() command

Quit the help mode

To exit the help mode, type quit and press Enter.

Quit Python help mode

List of Python keywords

To get a list of available keywords in Python, type keywords and press Enter.

To get help on certain keyword just type the keyword and press enter.

List of keywords

List of available modules

To get a list of available modules in Python, type module and press Enter.

To get help on certain module just type the module name and press enter.

list of available modules

List of available topics

The topics command gives a list of topics regarding Python programming language.

To get a list of available topics, type topics and press Enter.

To get help on certain topic, just type the topic name and press enter.

List of available topics

If you are new here, you might want to subscribe to the RSS feed or newsletter.

Enter your email address:

Related

This entry was posted in Python and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>