current date py code example Example: get current date in python from datetime import date today = date.today() print("Today's date:", today)