Année du système Python

from datetime import date

current_year = date.today().year
print(current_year)
Lukas Pätz