1

Possible Duplicate:
Read words from .txt, and count for each words
Python script to find word frequencies of a given document

There is one file having some data in it. I would like to get each and every word without repetition and want to get number of occurance of that word. How do I write a python program for this?

Community
  • 1
  • 1
Manoj Suryawanshi
  • 862
  • 1
  • 9
  • 20
  • 1
    Using any text editor.... seriously, what have you tried? – Felix Kling Oct 14 '11 at 09:50
  • 2
    First, read the [Python tutorial](http://docs.python.org/tutorial/), then try to write your program. If you have any problems come back here and ask a specific question. –  Oct 14 '11 at 09:51
  • Is there a particular part that you're having a problem with? Or do you just want someone to write your program for you? – mpenkov Oct 14 '11 at 09:52

0 Answers0