On Thu, 19 Feb 2009 13:56:38 -0800, oamram wrote:
> new to python. i have a directory with about 50 text file and i need to
> iterate through them and get
> line 7 to 11 from each file and write those lines into another file(one
> file that will contain all lines).
Untested:
from __future__ impo
On Feb 19, 4:56 pm, Steve Holden wrote:
> Chris Rebert wrote:
> > On Thu, Feb 19, 2009 at 2:28 PM, Mike Driscoll wrote:
> >> On Feb 19, 4:22 pm, Mike Driscoll wrote:
> >>> On Feb 19, 3:56 pm, oamram wrote:
>
> Hi Pythonist,
> new to python. i have a directory with about 50 text file a
Chris Rebert wrote:
> On Thu, Feb 19, 2009 at 2:28 PM, Mike Driscoll wrote:
>> On Feb 19, 4:22 pm, Mike Driscoll wrote:
>>> On Feb 19, 3:56 pm, oamram wrote:
>>>
Hi Pythonist,
new to python. i have a directory with about 50 text file and i need to
iterate through them and get
On Thu, Feb 19, 2009 at 2:28 PM, Mike Driscoll wrote:
> On Feb 19, 4:22 pm, Mike Driscoll wrote:
>> On Feb 19, 3:56 pm, oamram wrote:
>>
>> > Hi Pythonist,
>> > new to python. i have a directory with about 50 text file and i need to
>> > iterate through them and get
>> > line 7 to 11 from each f
On Feb 19, 4:22 pm, Mike Driscoll wrote:
> On Feb 19, 3:56 pm, oamram wrote:
>
> > Hi Pythonist,
> > new to python. i have a directory with about 50 text file and i need to
> > iterate through them and get
> > line 7 to 11 from each file and write those lines into another file(one file
> > that w
On Feb 19, 3:56 pm, oamram wrote:
> Hi Pythonist,
> new to python. i have a directory with about 50 text file and i need to
> iterate through them and get
> line 7 to 11 from each file and write those lines into another file(one file
> that will contain all lines).
>
> Cheers, Omer.
> --
> View th