Unicode File I/O Grief
Terry Reedy
tjreedy at udel.edu
Thu May 16 15:10:33 EDT 2002
"Dale Strickland-Clark" <dale at riverhall.NOTHANKS.co.uk> wrote in
message news:a1u7eu0l24gbvutju856kgcj688avdcphm at 4ax.com...
> I simply want to do the following:
>
> file('C:\\odd.txt', 'wb').write(ucString)
>
> ...so that I can examine the contents of this (rather long) Unicode
> string in an editor.
>
> Can I write it to a file?
Try it and see. The interactive interpreter makes it trivial to
investigate such questions oneself.
Terry J. Reedy
More information about the Python-list
mailing list