calendar for controlling the pills to take, in python