Obtenez la date actuelle en utilisant la méthode aujourd'hui

# Python program to print current date
# import the date class
from datetime import date

# function of date class
today = date.today()

print("Today's date is", today)
Outrageous Ostrich