Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101805 > unrolled thread

Is there a limit to the characters used in a print statement?

Started byRobert James Liguori <gliesian66@gmail.com>
First post2016-01-16 05:49 -0800
Last post2016-01-17 10:41 +1100
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Is there a limit to the characters used in a print statement? Robert James Liguori <gliesian66@gmail.com> - 2016-01-16 05:49 -0800
    Re: Is there a limit to the characters used in a print statement? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-01-16 14:02 +0000
    Re: Is there a limit to the characters used in a print statement? Steven D'Aprano <steve@pearwood.info> - 2016-01-17 10:41 +1100

#101805 — Is there a limit to the characters used in a print statement?

FromRobert James Liguori <gliesian66@gmail.com>
Date2016-01-16 05:49 -0800
SubjectIs there a limit to the characters used in a print statement?
Message-ID<06e75d79-39f4-4389-aec7-4778223c4990@googlegroups.com>
I'm doing a data conversion and all is garbled when I add an extra hundred lines to the print in my for loop.  Is there a limit?

[toc] | [next] | [standalone]


#101807

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2016-01-16 14:02 +0000
Message-ID<mailman.41.1452952997.15297.python-list@python.org>
In reply to#101805
On 16/01/2016 13:49, Robert James Liguori wrote:
> I'm doing a data conversion and all is garbled when I add an extra hundred lines to the print in my for loop.  Is there a limit?
>

This will probably get answered under the thread with subject "print 
size limit" that arrived one minute before this did.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#101827

FromSteven D'Aprano <steve@pearwood.info>
Date2016-01-17 10:41 +1100
Message-ID<569ad540$0$1583$c3e8da3$5496439d@news.astraweb.com>
In reply to#101805
On Sun, 17 Jan 2016 12:49 am, Robert James Liguori wrote:

> I'm doing a data conversion and all is garbled when I add an extra hundred
> lines to the print in my for loop.  Is there a limit?


Is this the same problem as the "print size limit" thread you started one
minute earlier, or a different problem?

In your previous message, you said things break when you add an extra 100
characters. Now you say 100 lines. Which is it?

How big are these lines? Are they ASCII or Unicode?

Are you printing before or after the data conversion? What is the data
conversion doing? Are you sure that the problem is with print and not the
conversion?

Again, your question is little more than some vague generalities with no
real detail.



-- 
Steven

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web