Mercurial > hg > Members > nobuyasu > test
view 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 |
line wrap: on
line source
#!/usr/bin/python f = open('/home/student/e08/e085711/testProgram/wiki/enwiki20110526.txt', 'r') #f = open('./test.txt', 'r') for line in f: if(line.find("int")+1) : print(line,end="")