Obtenha o primeiro do mês atual do Python
from datetime import datetime, date
print(date.today().replace(day=1))
DeepMatter
from datetime import datetime, date
print(date.today().replace(day=1))
from datetime import datetime
datetime.today().replace(day=1)
oldest = min(datetimes)