Data daty zmniejszania daty Python

from datetime import datetime, timedelta

d = datetime.today() - timedelta(days=days_to_subtract)
Foolish Flatworm