Public feed #893373

check school

public python v1 · immutable
Raw Edit
·published 2008-02-06 01:55 UTC
rendered paste body
import urllib as uimport re as rimport time as tdef check(school, site):	f = u.urlopen(site)	h = f.read()	sr = r.search(school, h)	if sr:		print "School's out!"	else:		print school, "still has school tomorrow"		t.sleep(60)		check(school, site)