摘要: Python 中可以使用datetime的fromisoformat()方法将字符串转成datetime对象,但只有Python 3.7以上才支持,Python 3.6及之前的版本不支持,调用会报错:AttributeError: type object 'datetime.datetime' ha 阅读全文
posted @ 2022-10-24 21:46 leviliang 阅读(179) 评论(0) 推荐(0)