def drange(v0, v1, d):
 assert (v0 < v1)
 return xrange((int(v0) // d), (int((v1 + d)) // d))

def drange ( v0 , v1 , d ) : assert ( v0 < v1 ) return xrange ( ( int ( v0 ) // d ) , ( int ( ( v1 + d ) ) // d ) )
return a date range as float gregorian ordinals .