开发者

Python IDE and gathering runtime statistics (variable types and other)

开发者 https://www.devze.com 2023-02-20 08:28 出处:网络
It occured to me after reading this blog post and watching related video: http://steve-yegge.blogspot.com/2008/05/开发者_如何学Pythondynamic-languages-strike-back.html

It occured to me after reading this blog post and watching related video: http://steve-yegge.blogspot.com/2008/05/开发者_如何学Pythondynamic-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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消