Python hoje - 1 dia
from datetime import datetime, timedelta
yesterday = datetime.today() - timedelta(days = 1 )
MzanziLegend
from datetime import datetime, timedelta
yesterday = datetime.today() - timedelta(days = 1 )