摘要:
原代码: 此代码执行后报错: Traceback (most recent call last): File "C:\Python27\test3-3.py", line 2, in <module> x=eval(input("请输入一个数据:"))TypeError: eval() arg 1 阅读全文
posted @ 2020-07-21 15:44
sunnyA95
阅读(6640)
评论(0)
推荐(1)
摘要:
使用IDLE编写脚本,但是脚本无法正确保存,查找原因,原来是脚本中带有中文字符。在脚本前加上#coding:UTF-8,就能正常保存了 阅读全文
posted @ 2020-07-21 15:23
sunnyA95
阅读(1090)
评论(0)
推荐(0)
浙公网安备 33010602011771号