AttributeError: ‘str’ object has no attribute 'strptime’的解决方法 代码与错误 时间换算成时间戳的时候出现了AttributeError: ‘str’ object has no attribute 'strptime’这个错误 解决方法 将变量名为time的修改其他 运行结果