たばさの?

 | 

Nov 10, 2007

1000res

# check1000res.py
# coding: shift-jis
import re
import sys
import os

def copy(read, write):
    write(read())

filename=sys.argv[1]
# tmp=open("tmp-savedhtmname.txt")
# filename=tmp.readline()
print "!",filename	
file=open(filename)

key="<dt>1000 :<font color=green><b>"

ans=0
while 1:
 line = file.read()
 if len(line)==0:break
 if (re.search(key, line)) :
   ans=1
   break
 else :
   ans=0
   
if ans==1:
  print "1000!",filename
  os.system('notepad')
 | 
カレンダー
<< 2007/11 >>
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30