Introducing Python to others
rhodri at wildebst.demon.co.uk
Fri Mar 27 00:27:49 CET 2009
On Thu, 26 Mar 2009 09:35:55 -0000, Paddy O'Loughlin
<patrick.oloughlin at gmail.com> wrote:
> Because of this, I was thinking of making sure I included exceptions
> and handling, the richness of the python library and a pointing out
> how many modules there were out there to do almost anything one could
> think of.
Once you've shown them exceptions, show them context managers briefly.
It's amazing how much they can simplify some types of exception handling.
Rhodri James *-* Wildebeeste Herder to the Masses
More information about the Python-list