Mercurial > hg > Members > nobuyasu > test
annotate scriptTest/search.py @ 15:b48915bffa79 draft default tip
commit search.py
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 01 Jul 2012 00:31:22 +0900 |
parents | 19b1335632f6 |
children |
rev | line source |
---|---|
13 | 1 #!/usr/bin/python |
2 | |
14 | 3 f = open('/home/student/e08/e085711/testProgram/wiki/enwiki20110526.txt', 'r') |
4 #f = open('./test.txt', 'r') | |
13 | 5 |
6 for line in f: | |
15
b48915bffa79
commit search.py
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
14
diff
changeset
|
7 if(line.find("int")+1) : print(line,end="") |