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


Groups > comp.lang.python > #80263 > unrolled thread

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

Started byLarry Martell <larry.martell@gmail.com>
First post2014-11-05 07:16 -0500
Last post2014-11-07 10:03 -0500
Articles 8 — 7 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#80263 — Re: Understanding "help" command description syntax - explanation needed

FromLarry Martell <larry.martell@gmail.com>
Date2014-11-05 07:16 -0500
SubjectRe: Understanding "help" command description syntax - explanation needed
Message-ID<mailman.15492.1415189818.18130.python-list@python.org>
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.

[toc] | [next] | [standalone]


#80351

FromDarren Chen <ccylily1314@gmail.com>
Date2014-11-06 22:50 -0800
Message-ID<57af10d4-3891-4eec-8c46-5fa625ebe591@googlegroups.com>
In reply to#80263
在 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.

that's awesome!!

[toc] | [prev] | [next] | [standalone]


#80356

Fromcl@isbd.net
Date2014-11-07 09:36 +0000
Message-ID<jeguib-4du.ln1@chris.zbmc.eu>
In reply to#80351
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.
> 
> that's awesome!!

Well I started in 1971 or thereabouts.

-- 
Chris Green
·

[toc] | [prev] | [next] | [standalone]


#80357

FromBob Martin <bob.martin@excite.com>
Date2014-11-07 12:17 +0000
Message-ID<cc3rj5Fug00U1@mid.individual.net>
In reply to#80356
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.
>>
>> that's awesome!!
>
>Well I started in 1971 or thereabouts.

1959 for me ;-)

[toc] | [prev] | [next] | [standalone]


#80359

FromDave Angel <davea@davea.name>
Date2014-11-07 07:42 -0500
Message-ID<mailman.15559.1415364184.18130.python-list@python.org>
In reply to#80357
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.
>>>
>>> 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

[toc] | [prev] | [next] | [standalone]


#80360

FromSteven D'Aprano <steve+comp.lang.python@pearwood.info>
Date2014-11-07 23:52 +1100
Message-ID<545cc087$0$12982$c3e8da3$5496439d@news.astraweb.com>
In reply to#80359
Dave Angel wrote:

> Approximately 1968 for me. I wrote programs in 1967, but didn't
>  get to run them till 1968.


I once used a compiler that slow too.



-- 
Steven

[toc] | [prev] | [next] | [standalone]


#80362

FromLarry Martell <larry.martell@gmail.com>
Date2014-11-07 08:03 -0500
Message-ID<mailman.15561.1415365431.18130.python-list@python.org>
In reply to#80360
On Fri, Nov 7, 2014 at 7:52 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> Dave Angel wrote:
>
>> Approximately 1968 for me. I wrote programs in 1967, but didn't
>>  get to run them till 1968.
>
>
> I once used a compiler that slow too.

Yeah, I think it was made by Intermetrics. Or maybe Borland.

[toc] | [prev] | [next] | [standalone]


#80363

FromWilliam Ray Wing <wrw@mac.com>
Date2014-11-07 10:03 -0500
Message-ID<mailman.15563.1415372659.18130.python-list@python.org>
In reply to#80357
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web