From: Abhishek Pratap
To: Steven D'Aprano
Cc: tutor@python.org
Sent: Wednesday, March 7, 2012 2:56 AM
Subject: Re: [Tutor] inserting new lines in long strings while printing
thanks guys ..
>
>
>
>
>-Abhi
>
>
>On Tue, Mar 6, 201
Abhishek Pratap wrote:
> I have this one big string in python which I want to print to a file
> inserting a new line after each 100 characters. Is there a slick way to do
> this without looping over the string. I am pretty sure there shud be
> something its just I am new to the lang.
There is al
thanks guys ..
-Abhi
On Tue, Mar 6, 2012 at 5:41 PM, Steven D'Aprano wrote:
> On Tue, Mar 06, 2012 at 05:26:26PM -0800, Abhishek Pratap wrote:
> > I have this one big string in python which I want to print to a file
> > inserting a new line after each 100 characters. Is there a slick way to
>
On Tue, Mar 06, 2012 at 05:26:26PM -0800, Abhishek Pratap wrote:
> I have this one big string in python which I want to print to a file
> inserting a new line after each 100 characters. Is there a slick way to do
> this without looping over the string. I am pretty sure there shud be
> something it
On 07/03/2012 01:26, Abhishek Pratap wrote:
I have this one big string in python which I want to print to a file
inserting a new line after each 100 characters. Is there a slick way to do
this without looping over the string. I am pretty sure there shud be
something its just I am new to the lang
I have this one big string in python which I want to print to a file
inserting a new line after each 100 characters. Is there a slick way to do
this without looping over the string. I am pretty sure there shud be
something its just I am new to the lang.
Thanks!
-Abhi