Python interactive help mode

Saturday, July 11th, 2009
Advertisement

Subscribe.
Enter your email:

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:

Creates the exact copy of your hard disk and allows you to instantly restore the entire machine.
New Acronis True Image Home 2010 is the most reliable and easy in use backup solution. Now with online backup option!
15% Discount Code: FMAATIH2010

What else?

Like this article? Share it

 Digg  del.icio.us  TwitThis  Facebook  Reddit  StumbleUpon

Leave a Reply

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