标签: 日期命名文件

后浪云Python教程:怎么让python创建日期命名文件

1、python可以使用open函数来创建命名文件。  2、python可以使用datetime模块来获取日期。  3、实现代码:  方法1,使用isoformat()函数来直……