I did get an error...
Traceback (most recent call last):
File "C:\Projects\unicode_convert.py", line 8, in <module>
outp.write(outLine.strip()+'\n')
UnicodeEncodeError: 'ascii' codec can't encode characters in position
640-641: ordinal not in range(128)
Should I be worried about this. And where does this message indicate
that the error is. And what is the error?
Thanks
Matt
Matthew Pirritano, Ph.D.
Research Analyst IV
Medical Services Initiative (MSI)
Orange County Health Care Agency
(714) 568-5648
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Marc
Tompkins
Sent: Tuesday, April 07, 2009 11:05 AM
To: [email protected]
Subject: Re: [Tutor] why is unicode converted file double spaced?
On Tue, Apr 7, 2009 at 10:57 AM, Pirritano, Matthew
<[email protected]> wrote:
Excellent! Thanks Marc, Kent, and everyone. Marc your code worked. Now
to see if it will run on the full 4.5 GB file! : )
Glad to help - but you should definitely take Kent's advice and replace
my strip() with rstrip(). Good luck!
--
www.fsrtechnologies.com
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor