Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77308

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

References <12p10atdufggrba3e5k9ie7kla17thh1ha@4ax.com> <ltra4h$c0j$1@ger.gmane.org>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date 2014-08-29 21:13 -0500
Subject Re: Typing help brings up a screen that says type help()
Newsgroups comp.lang.python
Message-ID <mailman.13636.1409364834.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Aug 29, 2014 at 8:41 PM, Terry Reedy <tjreedy@udel.edu> wrote:
> On 8/29/2014 4:40 PM, Seymore4Head wrote:
>> older versions of python would allow ? as help.
>
> If I ever knew that, I have forgotten.  The interpreter must have treated
> '?' as a special case for interactive input. I suspect help was changed when
> quit and exit were added.

I don't believe '?' has ever been a feature of Python itself.
However, IPython does use '?' as a syntax for help; you can try it
with the in-browser interpreter at python.org.

-- 
Zach

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Typing help brings up a screen that says type help() Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-29 16:40 -0400
  Re: Typing help brings up a screen that says type help() Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-29 17:10 -0400
  Re: Typing help brings up a screen that says type help() Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-29 17:15 -0400
    Re: Typing help brings up a screen that says type help() Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-29 18:14 -0400
  Re: Typing help brings up a screen that says type help() Chris Angelico <rosuav@gmail.com> - 2014-08-30 08:22 +1000
  Re: Typing help brings up a screen that says type help() Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-29 18:40 -0400
    Re: Typing help brings up a screen that says type help() Grant Edwards <invalid@invalid.invalid> - 2014-09-02 16:36 +0000
  Re: Typing help brings up a screen that says type help() Chris Angelico <rosuav@gmail.com> - 2014-08-30 08:54 +1000
  Re: Typing help brings up a screen that says type help() Joel Goldstick <joel.goldstick@gmail.com> - 2014-08-29 19:02 -0400
  Re: Typing help brings up a screen that says type help() Chris Angelico <rosuav@gmail.com> - 2014-08-30 09:10 +1000
  Re: Typing help brings up a screen that says type help() Terry Reedy <tjreedy@udel.edu> - 2014-08-29 21:41 -0400
    Re: Typing help brings up a screen that says type help() Seymore4Head <Seymore4Head@Hotmail.invalid> - 2014-08-29 22:55 -0400
  Re: Typing help brings up a screen that says type help() Zachary Ware <zachary.ware+pylist@gmail.com> - 2014-08-29 21:13 -0500
  Re: Typing help brings up a screen that says type help() Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-30 14:46 +1000

csiph-web