Getting word frequencies from files which are in folder.

krisbee1983 at gmail.com krisbee1983 at gmail.com
Wed Apr 4 14:17:40 EDT 2007


Hello to all,

I'm beginer in learning Python I wish somebody help me with solving
this problem.  I would like to read all text files wchich are in some
folder. For this text files I need to make some word frequencies using
defined words like "buy", "red", "good". If some file don't have that
word will get "0" for this frequency. It shoud be stored in array. If
I have alredy got frequencies for every file in folder, my array wrote
to text file.

I will be very gratefully for receiving any help.




More information about the Python-list mailing list