注意Python2.x与Python3.x中的print与print()用法(invalid syntax错误)

来源:互联网 发布:身份证信息识别软件 编辑:程序博客网 时间:2024/05/22 02:08

由上图错误可知不能把Python2.x中的print拿来直接用,应使用的Python3.x中的print()函数

阅读全文
0 0