Getting word frequencies from files which are in folder.

7stud bbxx789_05ss at yahoo.com
Thu Apr 5 05:38:04 CEST 2007


On Apr 4, 2:07 pm, krisbee1... at gmail.com wrote:
> My question is how to get word frequencies from this files?
> I will be glad to get any help.
>

--files have a read(), readline(), and readlines() method
--strings have a split() method, which splits the string on
whitespace(e.g. spaces)
--lists have a count() method



More information about the Python-list mailing list