2024-05-13 22:22:58 发布
网友
Possible Duplicate:python: SyntaxError: EOL while scanning string literal
有时我在阅读文本文件时会遇到这个错误
SyntaxError: EOL while scanning string literal
这是什么意思?我该怎么解决?
EOL表示“行尾”
你忘了关闭“stuff”或“stuff”类型的引号
就像
>>> print "hello File "<stdin>", line 1 print "hello ^ SyntaxError: EOL while scanning string literal >>> print "hello" hello
插入符号指向问题所在
EOL表示“行尾”
你忘了关闭“stuff”或“stuff”类型的引号
就像
插入符号指向问题所在
相关问题 更多 >
编程相关推荐