On 16 August 2016 at 15:51, Mike Dewhirst <mi...@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.
_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug

Reply via email to