[Tutor] open multiple files
paulo_quaglio at yahoo.com
Wed Aug 15 17:26:45 CEST 2007
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 didn't work. Your ideas are greatly appreciated. Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor