Setting Current Dir in Python
Tim Couper
tim.couper at scivisum.co.uk
Tue Sep 4 09:53:46 EDT 2007
Steve
Of course it is. I'd like to think I left a test for the observant, but
in reality it just shows I can't copy-type ... :-)
Tim
Dr Tim Couper
CTO, SciVisum Ltd
www.scivisum.com
Steve Holden wrote:
> Tim Couper wrote:
>
>> "Non-ASCII character '\xef' in file"
>>
>> SandhirFileMonitor.py on line 356,
>>
>> This is reason for the failure .. you have a (probably accidentally placed) non-ascii (ie whose value is > 128) character on line 356, whose hex value is ef (decimal 259) . Solution: find that line and remove the character - or line.
>>
>>
> Tim:
>
> You should know that any two-digit hexadecimal number is less than 255!
>
> >>> int("ef", 16)
> 239
>
> regards
> Steve
>
More information about the Python-list
mailing list