In article <[EMAIL PROTECTED]>, Tim Golden wrote: >so it's just possible that one of your filenames has >a non-ascii char in it without your noticing? (Altho' >I'd find that an odd character to include in a filename).
There is somewhere since printing worked when I changed the filename completely. >To get round the problem in the immediate term, change >both print lines to something like: > >print repr (full_filename) This did not work. Neither did commenting all print lines. The problem is somewhere else. Strange... The bash script that copies-renames the file for dirwatch.py is here: http://justin.yackoski.name/winp/winp I cannot see where they put a non ascii character there. Can you? -- Vesa-Matti Sarenius, M.Sc. * * * * * * * * * * * * * * * * * mailto:[EMAIL PROTECTED] * Music seems to help the pain * Lecturer, mathematics education * R.I.P. Syd, my hero * University of Oulu, Finland * * * * * * * * * * * * * * * * * -- http://mail.python.org/mailman/listinfo/python-list