Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76546

Re: python scikits.audiolab Sndfile special chars in file name

References <CABy8q84h2Cs9o9byiPC6wsOu_=E49tRagxrVerrKCBBxFv73+g@mail.gmail.com> <CAPTjJmrcmBLeBY9Wo-twvT1KVq0MP5LnLPAE8kKrnaN8W8Bg7g@mail.gmail.com> <lsuvu9$gjh$1@ger.gmane.org>
From Furqan wasi <furqan@avpreserve.com>
Date 2014-08-19 13:05 +0500
Subject Re: python scikits.audiolab Sndfile special chars in file name
Newsgroups comp.lang.python
Message-ID <mailman.13134.1408437958.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

*Hi Mark and all, *

         Thanks for the replay i appreciate your help but the problem i
have is not with the FileNotFoundError exception handling because the file
exists but the problem is that the library libsndfile/Sndfile (python third
party) which is child class/module of scikits.audiolab (python third party) is
not reading file with special character in its path and name , i need some
help to in how to make library libsndfile/Sndfile to read file with special
character in it  i.e C:\Users\Furqan\Desktop\test\查找問題daw\查找問題d.wav, as i
mentioned in my first email

let me know if you need more information about this ticket
*Thanks *


On Tue, Aug 19, 2014 at 12:55 PM, Mark Lawrence <breamoreboy@yahoo.co.uk>
wrote:

> On 19/08/2014 02:42, Chris Angelico wrote:
>
>> On Tue, Aug 19, 2014 at 1:34 AM, Furqan wasi <furqan@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
>



-- 

*Best Regards*

Furqan Wasi
*AVPreserve *

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python scikits.audiolab Sndfile special chars in file name Furqan wasi <furqan@avpreserve.com> - 2014-08-19 13:05 +0500

csiph-web