Setting Current Dir in Python

Steve Holden steve at holdenweb.com
Tue Sep 4 09:25:38 EDT 2007


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
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list