import mx.DateTime
import os

sts = mx.DateTime.DateTime(2010,10,1)
ets = mx.DateTime.DateTime(2010,11,1)
interval = mx.DateTime.RelativeDateTime(days=1)
now = sts
while now < ets:
  print now
  #for st in ['nd','sd','ne','ks','mo','il','wi','mn','mi','oh','in','ky']:
  #os.system("python daily_estimator.py %s %s" % (st, now.strftime("%Y %m %d"),))
  os.system("python compute_0000.py %s" % (now.strftime("%Y %m %d"),))
  now += interval
