python scikits.audiolab Sndfile special chars in file name
Mark Lawrence
breamoreboy at yahoo.co.uk
Tue Aug 19 03:55:49 EDT 2014
On 19/08/2014 02:42, Chris Angelico wrote:
> On Tue, Aug 19, 2014 at 1:34 AM, Furqan wasi <furqan at 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
More information about the Python-list
mailing list