Python IDE 和收集运行时统计信息(变量类型和其他)
在阅读这篇博文并观看相关视频后,我想到了这一点: http://steve-yegge.blogspot.com/2008/05/dynamic-languages-strike-back.html
是否有任何Python IDE可以收集Python程序运行时统计信息并使用它来提供更好的代码完成、变量类型确定等?
或者,如果不是 IDE,是否有任何工作工具可以收集此类信息并可供程序员用来做一些有用的事情?
It occured to me after reading this blog post and watching related video: http://steve-yegge.blogspot.com/2008/05/dynamic-languages-strike-back.html
Is there any Python IDE that gathers Python program runtime statistics and uses it to provide better code completion, variable type determining etc.?
Or, if not IDE, is there any working tool that gathers such information and can be used by programmer to do something useful?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AFAIK 没有工具能够同时完成所有这些魔法,但是...
eclipse 可以对基本类型进行一些推断,例如类和实例成员、函数,可以进行一些自动完成
语义& emacs 也能做到
pywin、IDLE 和 pycrust introspect 导入的模块,还提供自动补全
除了其他功能之外,pylint 还进行广泛的静态检查
p>
AFAIK there is no tool that is able to do all this magic at once, but...
eclipse can do some inference about basic types, e.g. classes and instance members, functions, can do some autocompletion
semantic & emacs also does it
pywin, IDLE and pycrust introspect imported modules, also providing autocompletion
pylint does extensive static checks, apart from other functionality