datetime:日期时间模块,提供多种方法操作日期和时间
import datetime today=datetime.date.today() print today
输出为:
2020-05-01