python 报错错误集合——更新中时间:2023-03-09 06:56:09 1. 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 4 'one 5 6 7 #报错 8 9 File "C:\Users\shuxiu\Desktop\test.py", line 4 10 'one 11 ^ 12 SyntaxError: EOL while scanning string literal EOL是行尾(end of line),错误原因:在发现字符串结尾之前先找到了行的结尾。