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


Groups > comp.lang.python > #80363

Re: Understanding "help" command description syntax - explanation needed

Subject Re: Understanding "help" command description syntax - explanation needed
From William Ray Wing <wrw@mac.com>
Date 2014-11-07 10:03 -0500
References (3 earlier) <mailman.15492.1415189818.18130.python-list@python.org> <57af10d4-3891-4eec-8c46-5fa625ebe591@googlegroups.com> <jeguib-4du.ln1@chris.zbmc.eu> <cc3rj5Fug00U1@mid.individual.net> <m3ieo2$3eg$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.15563.1415372659.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Nov 7, 2014, at 7:42 AM, Dave Angel <davea@davea.name> wrote:
> 
> Bob Martin <bob.martin@excite.com> Wrote in message:
>> in 730867 20141107 093651 cl@isbd.net wrote:
>>> Darren Chen <ccylily1314@gmail.com> wrote:
>>>> 在 2014年11月5日星期三UTC+8下午8时17分11秒,Larry....@gmail.com写道:
>>>>> On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev <webmailgroups@gmail.com> wrote:
>>>>>> Firtst of all thanks for reply.
>>>>>> 
>>>>>>>> brackets [] means that the argument is optional.
>>>>>> 
>>>>>> That's what I'm talking about (asking actually), where do you know it from?
>>>>> 
>>>>> I know it because I've been a programmer for 39 years.
>>>> 

But, to get back to the OP’s original question.  The earliest manuals that I remember looking at (from DEC, remember them) all had sections in the front that listed the typological conventions used throughout the manual.  Those included the use of square brackets to indicate optional arguments.  Eventually some of those conventions, including [ ] and the use of a fixed width font to indicate screen output, became so wide spread as to be simply part of the cultural context.  

A fair number of “Introduction to . . .” programming books still have such a section.

Bill

>>>> that's awesome!!
>>> 
>>> Well I started in 1971 or thereabouts.
>> 
>> 1959 for me ;-)
>> 
> 
> Approximately 1968 for me. I wrote programs in 1967, but didn't
> get to run them till 1968.
> -- 
> DaveA
> 
> -- 
> https://mail.python.org/mailman/listinfo/python-list

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


Thread

Re: Understanding "help" command description syntax - explanation needed Larry Martell <larry.martell@gmail.com> - 2014-11-05 07:16 -0500
  Re: Understanding "help" command description syntax - explanation needed Darren Chen <ccylily1314@gmail.com> - 2014-11-06 22:50 -0800
    Re: Understanding "help" command description syntax - explanation needed cl@isbd.net - 2014-11-07 09:36 +0000
      Re: Understanding "help" command description syntax - explanation needed Bob Martin <bob.martin@excite.com> - 2014-11-07 12:17 +0000
        Re: Understanding "help" command description syntax - explanation needed Dave Angel <davea@davea.name> - 2014-11-07 07:42 -0500
          Re: Understanding "help" command description syntax - explanation needed Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-11-07 23:52 +1100
            Re: Understanding "help" command description syntax - explanation needed Larry Martell <larry.martell@gmail.com> - 2014-11-07 08:03 -0500
        Re: Understanding "help" command description syntax - explanation needed William Ray Wing <wrw@mac.com> - 2014-11-07 10:03 -0500

csiph-web