John Machin wrote:
> David J Birnbaum wrote:
> > Dear Python-list,
> >
> > I need to read a Unicode (utf-8) file that contains text like:
> > > blah \fR40\fC blah
> > I get my input and then process it with something like:
> > > inputFile = codecs.open(sys.argv[1],'r', 'utf-8')
> > >
> > > for lin
David J Birnbaum wrote:
> Dear Python-list,
>
> I need to read a Unicode (utf-8) file that contains text like:
> > blah \fR40\fC blah
> I get my input and then process it with something like:
> > inputFile = codecs.open(sys.argv[1],'r', 'utf-8')
> >
> > for line in inputFile:
> When Python encount
Dear Python-list,
I need to read a Unicode (utf-8) file that contains text like:
> blah \fR40\fC blah
I get my input and then process it with something like:
> inputFile = codecs.open(sys.argv[1],'r', 'utf-8')
>
> for line in inputFile:
When Python encounters the "\f" substring in an input line, i