Re: [Tutor] open multiple files

2007-08-15 Thread Alan Gauld
"Paulo Quaglio" <[EMAIL PROTECTED]> wrote > I'm beginning to learn how to program in python. > I need to process several text files simultaneously. Do you really mean simultaneously or just all in the same execution of the program? ie The one program run opens each file in sequence and rep

Re: [Tutor] open multiple files

2007-08-15 Thread Tiger12506
> Hi everyone - > I'm beginning to learn how to program in python. I need to process > several text files simultaneously. The program needs to open several files > (like a corpus) and output the total number of words. I can do that with > just one file but not the whole directory. I tried glob

Re: [Tutor] open multiple files

2007-08-15 Thread Dave Kuhlman
On Wed, Aug 15, 2007 at 08:26:45AM -0700, Paulo Quaglio wrote: > Hi everyone - > I'm beginning to learn how to program in python. I need to > process several text files simultaneously. The program needs to > open several files (like a corpus) and output the total number > of words. I can

Re: [Tutor] open multiple files

2007-08-15 Thread Kent Johnson
Paulo Quaglio wrote: > Hi everyone - > I'm beginning to learn how to program in python. I need to process > several text files simultaneously. The program needs to open several > files (like a corpus) and output the total number of words. I can do > that with just one file but not the whole dire

[Tutor] open multiple files

2007-08-15 Thread Paulo Quaglio
Hi everyone - I'm beginning to learn how to program in python. I need to process several text files simultaneously. The program needs to open several files (like a corpus) and output the total number of words. I can do that with just one file but not the whole directory. I tried glob but it d