Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #104944 > unrolled thread
| Started by | Ganesh Pal <ganesh1pal@gmail.com> |
|---|---|
| First post | 2016-03-15 21:26 +0530 |
| Last post | 2016-03-15 21:26 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: common mistakes in this simple program Ganesh Pal <ganesh1pal@gmail.com> - 2016-03-15 21:26 +0530
| From | Ganesh Pal <ganesh1pal@gmail.com> |
|---|---|
| Date | 2016-03-15 21:26 +0530 |
| Subject | Re: common mistakes in this simple program |
| Message-ID | <mailman.163.1458057381.12893.python-list@python.org> |
On Tue, Mar 1, 2016 at 2:41 AM, Martin A. Brown <martin@linux-ip.net> wrote: > Please read below. I will take a stab at explaining the gaps of > understanding you seem to have (others have tried already, but I'll > try, as well). > > I am going to give you four different functions which demonstrate > how to use exceptions. You may find it instructive to paste these > functions into an interactive Python shell and try them out, as > well. > Thanks Martin for beautifully demonstrating the use of exception with an example that's easy to understand. Step 1: catch a specific Exception Step 2: catch a specific Exception Step 3: catch several different classes of Exception Step 4: catch many different classes of Exception
Back to top | Article view | comp.lang.python
csiph-web