[melbourne-pug] Unicode for windows dummies

William ML Leslie william.leslie.ttg at gmail.com
Tue Aug 16 03:22:05 EDT 2016


On 16 August 2016 at 15:51, Mike Dewhirst <miked at dewhirst.com.au> wrote:

>
>                 # this requires a bytes-like object not 'str'
>
>                 #cells = line.split(",")
>
>
​You got that exception because you had one of the .encode steps above.
Don't do any .encode before the split.

-- 
William Leslie

Notice:
Likely much of this email is, by the nature of copyright, covered under
copyright law.  You absolutely MAY reproduce any part of it in accordance
with the copyright law of the nation you are reading this in.  Any attempt
to DENY YOU THOSE RIGHTS would be illegal without prior contractual
agreement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/melbourne-pug/attachments/20160816/c15998af/attachment.html>


More information about the melbourne-pug mailing list