from datetime import datebirthday = date(1964, 7, 31)now = date(2006, 7, 31)age = now - birthdayprint age.days