Opening Unicode files

Noorhan Abbas noorhanabbas at
Wed Jul 9 12:18:05 CEST 2008

I wonder if you don't mind helping me out in this problem. I have been developing a tool in python that opens some unicode files, reading them and processing the data. It is working fine. When I started to write a cgi module that does the same thing for google appengine(actually it is using the same files that I used befoer), I get an error:
f = (FileName , 'rU', 'utf-8')
It says that the above functions takes 3 arguments but 4 were given.  I wonder if I need to do something before using the codecs library from within the cgi module?!
Thank you very much for your help,

Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list