- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- # this programme compare a text in french and its translation in englishe and liste the common words .
- with open("JVFR.txt", "r") as textFr:
- for line in textFr:
- words=line.split
- for word in words :
- print(word)
- close("JVFR")
- #nbs=len(words)
- #print (nbs)
|