[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

[Tutor] Opening Multiple Files

2007-08-16 Thread Paulo Quaglio
Hi everyone, Thanks for all suggestions. Let me just preface this by saying that I’m new to both python and programming. I started learning 3 months ago with online tutorials and reading the questions you guys post. So, thank you all very, very much…and I apologize if I’m doing something reall