learning calendar methods in python