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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
30c56504824c add screptTest
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #!/usr/bin/python
30c56504824c add screptTest
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
14
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 13
diff changeset
3 f = open('/home/student/e08/e085711/testProgram/wiki/enwiki20110526.txt', 'r')
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 13
diff changeset
4 #f = open('./test.txt', 'r')
13
30c56504824c add screptTest
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
30c56504824c add screptTest
Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
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="")