SyntaxError: unterminated string literaljquery错误SyntaxError: unterminated string literal通常原因是输出字符str中包含 换行符 导致的。把文件里的自动换行去掉了。