OSError: [Errno 22] Invalid argument: 'D:\\Python37\\Workspace...错误处理

report_file = os.path.join(report_dir, 'HTMLReport_{}.html').format(strftime('%Y-%m-%d_%H:%M:%S'))
https://www.cnblogs.com/Beginner-Y/p/13630774.html得知,命名不可使用:

 

posted @ 2021-11-03 15:34  海浪。  阅读(250)  评论(0)    收藏  举报