On 19/08/2014 02:42, Chris Angelico wrote:
On Tue, Aug 19, 2014 at 1:34 AM, Furqan wasi <fur...@avpreserve.com> wrote:
except:
     print('Simple didnt work')
     pass

Drop all of these bare excepts. Let the exceptions get printed.
Believe you me, they are a LOT more helpful than "didnt work".

ChrisA


Then once you've got rid of your coding errors, add the ones you do need to catch, for example FileNotFoundError is often needed in people's code.

--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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

Reply via email to