Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97442
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: Python 2 ‘print’, coercing arguments to Unicode |
| References | <851td81g08.fsf@benfinney.id.au> <85wpv0z368.fsf@benfinney.id.au> |
| Date | 2015-10-06 14:42 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.422.1444135397.28679.python-list@python.org> (permalink) |
I think the thing you want to converse is your stringIO not your print. I think you do this using six.stringIO https://pythonhosted.org/six/ But I have only read the doc, not done this in practice. Laura
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python 2 ‘print’, coercing arguments to Unicode Laura Creighton <lac@openend.se> - 2015-10-06 14:42 +0200
csiph-web