python错误
2019-03-13 本文已影响0人
b__d
运行后出现下面的错误:
TypeError: unsupported operand type(s) for +: 'datetime.date' and 'str'
原因是数据类型不正确,不可以用“+”
数字型和字符型显示如下:

为了完成上述图片中的文档生成,进行了强制类型转换

运行后出现下面的错误:
TypeError: unsupported operand type(s) for +: 'datetime.date' and 'str'
原因是数据类型不正确,不可以用“+”
数字型和字符型显示如下:
为了完成上述图片中的文档生成,进行了强制类型转换