python except Lookup

2020-01-06 14:48:41 浏览数 (1)

用Komodo写了一个简单的hello world的python,结果提示

  File "D:Program FilesActiveState Komodo IDE 5libsupportdbgpbinpydbgp.py", line 139     except LookupError, e:                       ^ SyntaxError: invalid syntax

后来发现什么也不写,也这样提示:)

原因是:Komodo5暂时不支持python3!

参考:

http://community.activestate.com/forum/troubles-python-30

http://community.activestate.com/forum/i-can-has-python-30-support#comment-7664

0 人点赞