Typing help brings up a screen that says type help()

Joel Goldstick joel.goldstick at gmail.com
Fri Aug 29 17:10:36 EDT 2014


On Fri, Aug 29, 2014 at 4:40 PM, Seymore4Head
<Seymore4Head at hotmail.invalid> wrote:
> What is the logic behind that?

It would seem that help() is a function.  You are in the python shell
when you type it, and it runs the function that displays help.

> Couldn't help do the same thing as help()?
> But the reason I ask is that I see (from a video of Getting Started
> with Python) that older versions of python would allow ? as help.  I
> get syntax error when I try ?
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
Joel Goldstick
http://joelgoldstick.com



More information about the Python-list mailing list