[Tutor] Code to open a website

eryksun eryksun at gmail.com
Sun Feb 10 10:30:30 CET 2013


On Sun, Feb 10, 2013 at 3:39 AM, ALAN GAULD <alan.gauld at btinternet.com> wrote:
> So it does. You learn something new every day...
> When did that first happen? It was one of my biggest frustrations
> with Python when I first started learning, that you couldn't call exit
> without first importing sys (v1.3). But I never noticed that changing
> till now.

Quitter was added to site.py in 2.5:

http://hg.python.org/cpython/file/c10a71cf16e4/Lib/site.py#l227

In 2.4, exit/quit were simply strings:

http://hg.python.org/cpython/file/f3f1f1462c82/Lib/site.py#l224


More information about the Tutor mailing list