python 编辑器/IDE 显示可用功能,更重要的是它们的文档
f = open(filename, 'r')
strings = f.read().lower()
我想要一个像 Visual Studio 一样工作的 Python 编辑器/IDE。在上面输入“f”后。它向我显示了可用函数及其文档的列表(不要等待 ctrl-space)。就像 Visual Express C# 一样。最好它也显示所有变量的自动完成列表。有这样的编辑器吗?
我已经经历了几个建议 - eclipse , vim , emacs , pyscripter , komodo 等等。厌倦了尝试。终于问了。 帮帮我吧。
我检查过类似的问题,没有人回答我的问题。
f = open(filename, 'r')
strings = f.read().lower()
I want a python editor/ide that works like visual studio. In the above after typing 'f.' it shows me the list of available functions and their documentation(DO NOT WAIT FOR ctrl-space). Just like visual express C#. Also preferably it shows autocomplete lists of all variables as well. Is there such an editor?
I have gone through several suggestions - eclipse , vim , emacs , pyscripter, komodo etc etc. Tired of trying. finally asking.
Help me out.
I have checked similar questions, none answered my query.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
尝试看看 PyCharm。它不是开源的,但它是相当便宜且功能强大的 IDE:
http://www.jetbrains.com/pycharm/< /a>
http://www.jetbrains.com/pycharm/features/index.html
Try to take a look at PyCharm. It not open source but it is quite cheap and powerful IDE:
http://www.jetbrains.com/pycharm/
http://www.jetbrains.com/pycharm/features/index.html
你可以试试Netbeans。它是免费的。它的一些功能 -
但按 Ctrl+Space
。 (我不知道为什么你不想按Ctrl+Space,否则每次你开始写东西时,你都会被弹出窗口打扰。)它还有很多其他功能......我无法在这里一一列举。
它是最好的开源 IDE!
You can try Netbeans. It is free. Some of its features -
but on Ctrl+Space
. (I don't know why you don't want to hit Ctrl+Space, otherwise every time you start writing something, you will be disturbed by a popup.)It has lots of other features... I can't name them all here.
It is the best opensource IDE !
我可以确认 wingide 代码完成是这样工作的。我尝试了你在这里的例子并且它有效
I can confirm that wingide code completion works like that. I tried the example you have here and it worked
我用 Pydev,用 Vim 后速度快很多!您可以快速导航项目树,在选项卡中打开必要的文件,还可以内联监视类/方法定义,甚至可以“跳转”到该文件。您还可以将项目标记为“Django 项目”,设置 python 路径后,它确实有助于减少错误并快速编码。此外,我还从多文件搜索/替换中受益匪浅。推荐一下! :)
注意:如果您使用 Linux,请使用 Oracle 站点上的二进制文件替换 OpenJRE。不然会出现裂纹。
I use Pydev, after Vim it speeds a lot! You can quickly navigate your project tree, in tabs you open necessary files, also inline watching of class/method definition, you can even 'jump' to that file. Also you can mark project as 'Django project', after setting python paths it really helps make less mistakes and code quickly. Also I've very much benefited multi-file search/replace. Recommend it! :)
Note: If you use Linux, replase OpenJRE with binary from Oracle's site. Otherwise there'll be craches.