try/except/finally

Tim Delaney timothy.c.delaney at gmail.com
Tue Jun 10 20:40:05 EDT 2014


On 11 June 2014 10:00, Steven D'Aprano <steve+comp.lang.python at pearwood.info
> wrote:

> On Wed, 11 Jun 2014 06:37:01 +1000, Chris Angelico wrote:
>
> > I don't know
> > a single piece of programming advice which, if taken as an inviolate
> > rule, doesn't at some point cause suboptimal code.
>
> "Don't try to program while your cat is sleeping on the keyboard."
>

Lying down, the weight is spread across the whole keyboard so you're
unlikely to suffer extra keypresses due to the cat. So if you're a
touch-typist that one may not be too bad (depending on how easily their fur
gets up your nose).

Now, a cat *standing* on the keyboard, between you and the monitor, and
rubbing his head against your hands, is a whole other matter.

Tim Delaney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140611/5963c5e6/attachment.html>


More information about the Python-list mailing list