Re: python doc in command line

2008-07-16 Thread Ben Finney
Peng Yu <[EMAIL PROTECTED]> writes: > Perl has a command line help perldoc. I'm wondering if python has a > similar help command. The interactive interpreter has a "help" command, and a corresponding "help" function which can be passed an object to display its docstrings recursively and nicely-fo

Re: python doc in command line

2008-07-16 Thread Fredrik Lundh
Peng Yu wrote: Perl has a command line help perldoc. I'm wondering if python has a similar help command. it's built into the interpreter, and Python tells you how to use it when you start Python in interactive mode. $ python Python 2.5.1 Type "help", "copyright", "credits" or "license" for

python doc in command line

2008-07-16 Thread Peng Yu
Hi, Perl has a command line help perldoc. I'm wondering if python has a similar help command. Thanks, Peng -- http://mail.python.org/mailman/listinfo/python-list