Re: Is '[' a function or an operator or an language feature?

Discussion in 'Python' started by Tim Chase, Jul 17, 2010.

  1. Tim Chase

    Tim Chase Guest

    On 07/16/2010 09:08 PM, MRAB wrote:
    > Peng Yu wrote:
    >>> You might find my Python symbol glossary useful.
    >>> https://code.google.com/p/xploro/downloads/detail?name=PySymbols.html

    >>
    >> This is for Python 3. Is there one for Python 2.x?
    >>

    > Is anyone /still/ using Python 2.x? ;-)


    2.x?! You were lucky. We lived for three months with Python 1.x
    in a septic tank. We used to have to get up at six in the
    morning, write our 1.x code using ed, eat a crust of stale bread,
    go to work down in machine language, fourteen hours a day,
    week-in week-out, for sixpence a week, and when we got home our
    Dad would thrash us to sleep wi' his belt...

    -tkc
    Tim Chase, Jul 17, 2010
    #1
    1. Advertising

  2. On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote:

    >> Is anyone /still/ using Python 2.x? ;-)

    >
    > 2.x?! You were lucky. We lived for three months with Python 1.x in a
    > septic tank. We used to have to get up at six in the morning, write our
    > 1.x code using ed,


    You got to use ed? Oh, we *dreamed* of using an editor! We had to edit
    the sectors on disk directly with a magnetised needle. A rusty, blunt
    needle.



    --
    Steven
    Steven D'Aprano, Jul 17, 2010
    #2
    1. Advertising

  3. On Sat, Jul 17, 2010 at 1:03 AM, Steven D'Aprano
    <> wrote:
    > On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote:
    >
    >>> Is anyone /still/ using Python 2.x? ;-)

    >>
    >> 2.x?!  You were lucky. We lived for three months with Python 1.x in a
    >> septic tank. We used to have to get up at six in the morning, write our
    >> 1.x code using ed,

    >
    > You got to use ed? Oh, we *dreamed* of using an editor! We had to edit
    > the sectors on disk directly with a magnetised needle. A rusty, blunt
    > needle.


    Real programmers use butterflies.

    http://xkcd.com/378/

    Geremy Condra
    geremy condra, Jul 17, 2010
    #3
  4. On 07/17/2010 10:03 AM, Steven D'Aprano wrote:
    > On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote:
    >
    >>> Is anyone /still/ using Python 2.x? ;-)

    >>
    >> 2.x?! You were lucky. We lived for three months with Python 1.x in a
    >> septic tank. We used to have to get up at six in the morning, write our
    >> 1.x code using ed,

    >
    > You got to use ed? Oh, we *dreamed* of using an editor! We had to edit
    > the sectors on disk directly with a magnetised needle. A rusty, blunt
    > needle.
    >


    You try and tell the young people of today that, and they won't believe
    you.
    Thomas Jollans, Jul 17, 2010
    #4
  5. Tim Chase

    Gary Herron Guest

    On 07/17/2010 01:03 AM, Steven D'Aprano wrote:
    > On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote:
    >
    >
    >>> Is anyone /still/ using Python 2.x? ;-)
    >>>

    >> 2.x?! You were lucky. We lived for three months with Python 1.x in a
    >> septic tank. We used to have to get up at six in the morning, write our
    >> 1.x code using ed,
    >>

    > You got to use ed? Oh, we *dreamed* of using an editor! We had to edit
    > the sectors on disk directly with a magnetised needle. A rusty, blunt
    > needle.
    >


    Along those lines, there's this -- one of my favorite comics:

    http://xkcd.com/378/

    and unrelated to the thread but still about python:

    http://xkcd.com/353/

    Gary Herron
    Gary Herron, Jul 17, 2010
    #5
  6. On 07/17/2010 06:38 PM, Gary Herron wrote:
    > On 07/17/2010 01:03 AM, Steven D'Aprano wrote:
    >> On Fri, 16 Jul 2010 21:23:09 -0500, Tim Chase wrote:
    >>
    >>
    >>>> Is anyone /still/ using Python 2.x? ;-)


    > http://xkcd.com/353/


    There we have the most important difference between Python 2 and 3: in
    the latter, "import antigravity" actually works.
    Thomas Jollans, Jul 17, 2010
    #6
  7. On 7/17/2010 9:38 AM Gary Herron said...
    > and unrelated to the thread but still about python:
    >
    > http://xkcd.com/353/


    ActivePython 2.6.1.1 (ActiveState Software Inc.) based on
    Python 2.6.1 (r261:67515, Dec 5 2008, 13:58:38) [MSC v.1500 32 bit
    (Intel)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import antigravity

    Nothing happens.
    >>>


    Emile
    Emile van Sebille, Jul 17, 2010
    #7
  8. On 7/17/2010 10:57 AM Benjamin Kaplan said...
    > Try it in Python 3.
    >


    Cool. :)

    Although I wouldn't have been surprised had my monitor levitated. :)

    Emile
    Emile van Sebille, Jul 17, 2010
    #8
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michele Simionato
    Replies:
    16
    Views:
    449
    Terry Reedy
    Mar 2, 2004
  2. Kay Schluehr
    Replies:
    10
    Views:
    538
    Kay Schluehr
    Feb 4, 2008
  3. ssubbarayan
    Replies:
    1
    Views:
    481
    Andrew Smallshaw
    Oct 29, 2008
  4. Alf P. Steinbach

    A missing language feature?

    Alf P. Steinbach, Sep 1, 2009, in forum: C++
    Replies:
    6
    Views:
    308
    Balog Pal
    Sep 3, 2009
  5. Peng Yu
    Replies:
    1
    Views:
    196
    Paul McGuire
    Jul 17, 2010
Loading...

Share This Page