On Feb 13, 1:19 pm, Chris wrote:
> On Feb 13, 10:02 am, redbaron wrote:
>
>
>
> > > New to python I have a large file that I need to break up into
> > > multiple smaller files. I need to break the large file into sections
> > > where there are 65535 lines and then write those sections to sepe
New to python I have a large file that I need to break up
into multiple smaller files. I need to break the large file
into sections where there are 65535 lines and then write those
sections to seperate files. I am familiar with opening and
writing files, however, I am struggling with creating
On Feb 13, 10:02 am, redbaron wrote:
> > New to python I have a large file that I need to break up into
> > multiple smaller files. I need to break the large file into sections
> > where there are 65535 lines and then write those sections to seperate
> > files.
>
> If your lines are variable-l
En Fri, 13 Feb 2009 05:43:02 -0200, brianrpsgt1
escribió:
On Feb 12, 11:02 pm, "Gabriel Genellina"
wrote:
En Fri, 13 Feb 2009 04:44:54 -0200, brianrpsgt1
escribió:
> New to python I have a large file that I need to break upinto
> multiple smallerfiles. I need to break the large file
> New to python I have a large file that I need to break up into
> multiple smaller files. I need to break the large file into sections
> where there are 65535 lines and then write those sections to seperate
> files.
If your lines are variable-length, then look at itertools recipes.
from iter
On Feb 12, 11:02 pm, "Gabriel Genellina"
wrote:
> En Fri, 13 Feb 2009 04:44:54 -0200, brianrpsgt1
> escribió:
>
> > New to python I have a large file that I need to break upinto
> > multiple smallerfiles. I need to break the large fileintosections
> > where there are 65535 lines and then wr
En Fri, 13 Feb 2009 04:44:54 -0200, brianrpsgt1
escribió:
New to python I have a large file that I need to break up into
multiple smaller files. I need to break the large file into sections
where there are 65535 lines and then write those sections to seperate
files. I am familiar with op
New to python I have a large file that I need to break up into
multiple smaller files. I need to break the large file into sections
where there are 65535 lines and then write those sections to seperate
files. I am familiar with opening and writing files, however, I am
struggling with creating