Re: Getting word frequencies from files which are in folder.

2007-04-04 Thread Alex Martelli
<[EMAIL PROTECTED]> wrote: > > This sounds suspiciously like a homework assignment. > > I don't think you'll get much help for this one, unless > > you show some code you wrote yourself already with a specific > > question about problems you're having > > Well you have some right. I will make

Re: Getting word frequencies from files which are in folder.

2007-04-04 Thread 7stud
On Apr 4, 2:07 pm, [EMAIL PROTECTED] 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

Re: Getting word frequencies from files which are in folder.

2007-04-04 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | | My question is how to get word frequencies from this files? | I will be glad to get any help. Go to http://groups.google.com/group/comp.lang.python/topics and search on "count word frequency" and you will find several previous post

Re: Getting word frequencies from files which are in folder.

2007-04-04 Thread krisbee1983
> This sounds suspiciously like a homework assignment. > I don't think you'll get much help for this one, unless > you show some code you wrote yourself already with a specific > question about problems you're having Well you have some right. I will make it more specific. I have got something

Re: Getting word frequencies from files which are in folder.

2007-04-04 Thread Irmen de Jong
[EMAIL PROTECTED] wrote: > 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