[Tutor] Code to open a website
ALAN GAULD
alan.gauld at btinternet.com
Sun Feb 10 09:39:25 CET 2013
>site.py adds the exit/quit Quitter instances to builtins (2.x
>__builtin__). When called they raise SystemExit, like sys.exit does.
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.
Alan G
More information about the Tutor
mailing list