Please translate this easy snip of C++ to Python
Andrew Dalke
dalke at acm.org
Mon Feb 5 13:36:52 EST 2001
Rainer Deyke:
> ComputerExplodingError is one of the "hidden" exception
> of the Underground of Pythonic Secrecy (UPS), created in
> response to the much cooler names of rival groups Secret
> Pythonic Underground (SPU) amd Pythonic Secret Underground
> (SPU). It is raised automatically when a computer "goes
> postal". The proper response is to panic and scream a
> lot. This is done automatically by the interpreter when
> stack unwinding is complete.
And if you have sound support then the computer says
"I'm sorry %{USER}s, I can't do that right now" % os.environ
if os.environ.has_key("USER"), else it plays
"Daisy, Daisy, give me your answer true"
But I don't actually know this since I'm not a member of
More information about the Python-list
mailing list