报错:Uncaught SyntaxError: Unexpected token o in JSON at position 1 at JSON.parse (<anonymous>) at Function.m.parseJSON (jquery.js:8515) at Object.success (crud.html:45) at j (jquery.js:3143) at Object.fireWith [as resolveWith] (jquery.js:3255) at x (…
理论上我发的每个短文,直接复制放到py里面,python xx.py是可以执行的,不过因为版本,编码什么的问题会有报错,详见这里 报错: SyntaxError: Non-ASCII character '\xd4' in file xxx.py on line 1, but no encoding declared; 解决:在py文件首行加 # coding: UTF-8 如果是linux系统,最好再加上 #!/usr/bin/python 告诉python在哪里 报错:Indentation…