foxfirefey: Smiley faces are born through factorized mechanical torture. (grimace)
[personal profile] foxfirefey posting in [community profile] python
Most of the time when I want to quit using you, I do something like this:

>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit


I am not sure why, if you know enough about what I want to give me a warning message about what I should Properly Do, you couldn't just exit and save me the headdesking trouble!

Other than that, I love you, so I am hoping you have a Really Good reason for this that I just don't know about.

(no subject)

Date: 2010-05-01 01:14 pm (UTC)
perquisitor_omnia: Green Triskele with Glowing Background (Default)
From: [personal profile] perquisitor_omnia
Technical Explanation: It is because all commands to the python interpreter are either keywords or built-in functions of Python. exit() would be how one would exit a python script as well.

Easy Explanation: It is because most programmers are pathological sticklers for exactness.

(no subject)

Date: 2010-05-01 10:53 pm (UTC)
perquisitor_omnia: Green Triskele with Glowing Background (Default)
From: [personal profile] perquisitor_omnia
Probably because they thought that the error message as it stands was more informative? And as I said they are pedants. And I must say that the python interactive interpreter is much more picky than PERL's "if it looks like it might be program code it probably is" mentality.

February 2024

S M T W T F S
    123
45678910
11121314 151617
18192021222324
2526272829  

Style Credit

Expand Cut Tags

No cut tags