Encountered "lili" at line 26, column 12. Was expecting one of: <NEWLINE>
来源:互联网 发布:支付宝源码 编辑:程序博客网 时间:2024/06/05 06:40
'''Created on 2017年8月1日'''class Person: '''Person class Definition''' population=0 def __init__(self,name): self.name=name print("init %s success" % (self.name)) Person.population += 1 def __del__(self): print("del %s success" % (self.name)) Person.population -= 1 def fun_howMany(self): return Person.population def fun_saySth(self): return "%s says something!" % self.name if __name__=="__main__": Person lili = Person('lili'); Person lucy = Person('lucy'); print(lili.fun_saySth());
Encountered "lili" at line 26, column 12. Was expecting one of: <NEWLINE> ... "(" ... "[" ... ";" ... "," ... "." ... "+" ... "-" ... "*" ... "/" ... "//" ... "<<" ... ">>" ... "%" ... "^" ... "|" ... "&" ... "=" ... ">" ... "<" ... "==" ... "<=" ... ">=" ... "!=" ... "+=" ... "-=" ... "*=" ... "@=" ... "/=" ... "//=" ... "%=" ... "&=" ... "|=" ... "^=" ... "<<=" ... ">>=" ... "**=" ... "or" ... "and" ... "not" ... "is" ... "in" ... "if" ... "@" ... ";" ... "," ...
NOTE: 错误行改成这样:lili = Person('lili');
阅读全文
0 0
- Encountered "lili" at line 26, column 12. Was expecting one of: <NEWLINE>
- Expected one of #, input, filter, output at line 2, column 1 (byte 2): Logstash
- reason=>"Expected one of #, input, filter, output at line 1, column 1 (byte 1) after "}
- Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 498
- PLS-00103: Encountered the symbol "" when expecting one of the following
- PLS-00103:Encountered the symbol "EXIT" when expecting one of the following:.( ,%
- 存储过程 编译错误:PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
- Jforum中搜索错误:jforum Cannot parse '': Encountered "EOF" at line 1, column 0.
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- org.apache.lucene.queryParser.ParseException: Encountered "<EOF>" at line 1, column 0.
- mybatis org.apache.ibatis.ognl.TokenMgrError: Lexical error at line 1, column 24. Encountered: "\u30
- Lexical error at line 15, column 17. Encountered: "\uff0c" (65292), after : ""
- org.apache.lucene.queryparser.classic.ParseException: Encountered "<EOF>" at line 1, column 0.
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was was STRING at line 1 column 1
- 解析json Expected BEGIN_ARRAY but was NUMBER at line 1 column 5
- Gson 解析时候报错: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
- java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 81
- java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 39 path $
- 地形材质总结
- BFS--状态图--uva10603 Fill
- SQLite(1)--SQL基本概念
- CloudStack管理员文档
- concurrenthashmap 原理
- Encountered "lili" at line 26, column 12. Was expecting one of: <NEWLINE>
- input即时监听
- 相机动画与射线
- 28-包含
- C++中多态与多态对象模型
- 多校联合第三次题解(网页打不好开,扒下来看)
- Python 使用 os.fork() 创建子进程
- 29-动画
- 运营——线上引流9大方法