时间:2024-10-28 07:29:56
1、python获取当前日期的方法
2、导入 datetime 模块
3、datetime.datetime.now.date()获取当前日期
4、print()方法格式化输出元组
5、其他注意事项