On 16/08/2016 5:22 PM, William ML Leslie wrote:
On 16 August 2016 at 15:51, Mike Dewhirst <mi...@dewhirst.com.au
<mailto: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.
I won't - that line remains commented out. See my email of a minute ago.
The comment is there to remind me.
Mike
--
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
_______________________________________________
melbourne-pug mailing list
melbourne-pug@python.org
https://mail.python.org/mailman/listinfo/melbourne-pug