timeofblock.py