try/except/finally
Mark Lawrence
breamoreboy at yahoo.co.uk
Tue Jun 10 20:53:57 EDT 2014
On 11/06/2014 01:40, Tim Delaney wrote:
> On 11 June 2014 10:00, Steven D'Aprano
> <steve+comp.lang.python at pearwood.info
> <mailto: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
>
>
Does it make any difference if the cat is European or African?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
More information about the Python-list
mailing list