In <c6cb8e06-b7c1-474e-bc1e-e2f2733e4...@googlegroups.com> mikp...@gmail.com 
writes:

> As written before, I don't know what exception to search for, so I wrote
> the (wrong) code:
> except:
>   print "error"
> Let's why I don't have a clue about it.
> But someone already explained me that I should not do this. 

If you don't know what exception is being raised, temporarily remove the
try/except statements and run the code directly.  You'll get the exception,
and then you'll know which one it is.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to