This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
What IDE to use for Python?
Are there any Python editors that can run the currently viewed file with an easy keybinding so I don't have to open the command prompt? Bonus points if it can open the Python interpreter too.
Mention any editor you know that can do this, so I have some options to choose from. Bonus points for other handy features like auto code completion, error markup, smart indent, bracket matching, line numbering etc.
Personally, I think the command prompt is the best part ;) But if you insist, try out http://pydev.org/, its the python plugin for eclipse. Its an IDE, and can have auto-completion etc.
If you aren't limited to open source offerings, you can try WingWare IDE:
http://wingware.com/
As far as professional WYSIWYG editors go, it is fairly mature and easy to use. It is available in three versions:
Wing IDE Professional
Wing IDE Personal
Wing IDE 101
Wing IDE 101 is a free version for educators, students and hobbyists. The other two are commercial versions which offer more features than the free version. All three versions of Wing IDE run on Windows, Linux and Mac OS X.
Plus, it meets a number of the features you requested:
Auto-completion, call tips, error indicators, goto-definition, find uses, source browser, code indices, and symbol lookup.
Also refer to this Wikipedia link for some of its features: http://en.wikipedia.org/wiki/Wing_IDE
Emacs
vim
Eclipse and its powerfull pydev plugin
Wingware
Emacs: meta x shell-command will do the trick.
M-x shell-command
followed by
python foo.py
see running commands in emacs.
I use PyDev on top of Eclipse, and I'm currently building a live-coding plugin that runs the code while you type.
For smaller projects with just a few files, I am a big fan of Spyder It is light weight, easy to use, but has many of the features of a full IDE.
If you need a full featured IDE rather than something light weight, then I second Wiz in suggesting Pydev.
Related
I was wondering if it is possible to use PyDev in Sublime. Because it has all this great debugging features that are missing in Sublime.
I know that it hasn't been implemented but I think with a few tricks we can use PyDev in Sublime.
There is also SublimeREPL plugin which allows you to run an interpreter inside Sublime.
https://github.com/wuub/SublimeREPL
Moreover, there is this remote debugging ability from PyDev documented here which I think we can take advantage of.
http://pydev.org/manual_adv_remote_debugger.html
Any brainstorming on how to do this would be appreciated because I think it is at least theoretically possible with some hacks!
P.S. I am using Sublime Text 3 and Ubuntu 13.10 64-bit. Also, I have Eclipse and Pydev installed.
You would have to make an entire package containing a build system, syntax support etc... where to start is difficult for me to say as I have never used pydev but the goal would surely be to mimic the IDE of pydev in sublime.
I am not aware of anything that enables remote debugging in sublime text so again this would have to be coded as part of your package.
You could perhaps start this package by specifically writing a list of all the features you would like to see in sublime, see if they exist on package control site https://packagecontrol.io/ if they do great install them no point repeating what someone else has done if it works towards your goals if not then add it to your list to begin creating your package.
These would be some good starting points on learning how to configure sublime text as well for me I tend to do it as I go along looking up what I need and building it whether it be a theme or a build system:
packagecontrol.io/docs/submitting_a_package
and
sublimetext.com/docs/3/packages.html
and
sublimetext.com/docs/3/
I use this personally on a unix system and it works well in respect of REPL:
github.com/spywhere/Terminality/ and is more configurable I think...
Sorry if it is not a specific answer as I have never used pydev its difficult for me to make the comparison and I am not sure from your question if you wanted full blown pydev in sublime text or only the features you mentioned?
This question already has an answer here:
What IDE to use for Python? [closed]
(1 answer)
Closed 9 years ago.
I use for C/C++ Visual studio 2012 with Visual Assist X plugin.
Now I'm going to learn Python. I need good IDE for Python and my main requirement
-very good intelli/autocomplete feature in IDE ( I don't like notepad or Python shell )
Can you recommended IDE for my requirement?
I struggled a lot before finding a good IDE for Python. At the moment I'm using PyCharm which has a lot of features I got used to with other languages and IDEs, such as very good syntax highlighting, code completion, structure navigation, documentation linking, VCS integration (with live diff tool) and so on.
Note: it's not free though, but you can do a free and full-features 30-days trial.
very good intelli/autocomplete feature in IDE
It will be very difficult to find a good IDE for python. The main reason is that your requirement is very very difficult to be achieved, if not downright impossible, due to the fact that python is dynamically bound, so utilities can not be certain about what goes where (as they do in a statically bound languages, such as java or c#) so as to create a reliable autocomplete feature in an IDE.
That said, in my opinion you might be better served using a plain text editor (vim quickly comes to mind, if you are on windows something along the lines of notepad++ will do) and then use the python vm of your choice to run and/or debug your code.
If you are so inclined to use an IDE nonetheless, Aptana studio (or just Eclipse with pydev) might prove adequate. Visual Studio is also a choice if you choose to pair it with Python tools for Visual studio.
You may use APTANA, Geany or ipython for your practice! I would prefer APTANA or GEANY
Eclipse is also a good IDE for python too!
WingIDE is my preferred ide. It has pretty good intelligent fill.
These days I go with Sublime Text for editing everything (http://www.sublimetext.com) and bpython (http://bpython-interpreter.org) as my Python shell.
Perhaps these other threads on Stack Overflow may be of additional help:
What IDE to use for Python?
https://stackoverflow.com/questions/126753/is-there-a-good-free-python-ide-for-windows
Which is the best IDE for Python For Windows
I also relatively new to python (1 month..) after struggling with idlex for a few weeks ,i found pyscripter and im very happy with it ,has almost perfect auto-complete for python! As big plus .. it made me stop wishing there where a version of netbeans for python !
I really loved this feature when I used Eclipse for Java programming, but I can't find the same functionality for a Python editor. IDLE and Pyscripter are nice, but they don't help in this area.
Basically, I just want the option to collapse or otherwise hide functions that I don't feel like looking at for a while. Know of anything like this?
In addition to the aforementioned (great) editors, you might want to give PyDev a shot as well.
Geany can do this.
Notepad++ has this feature.
Komodo Edit IDE, for Windows, Mac and Linux, for Python, PHP, Ruby, JavaScript, Perl and Web Dev.
I've used Komodo Edit and Notepad++ in the past but my current preference is Sublime Text Edit 2.
Although not free (and actually quite expensive), it can be used in free mode with only an occasional reminder and no other restrictions.
It is actually written in Python so you get a Python console built in - you can also get other consoles such as JavaScript. It is VERY flexible & has some very good features. It is also has an excellent community with loads of very useful plugins.
It is much lighter on resource usage than Komodo, can use Textmate bundles directly (so gets loads of formatting options for different file types). It is cross-platform and doesn't even need installation on Windows.
Pycharm CE, from Jet Brains, indeed, wonderful. Functions and comments collapse is ready out of the box, as well as edit helpers. Project files and assets organization, integrated python console, powerful debugging tools,... Then, lots of plugins: git integration, tinycode view, extra languages' helpers and highlighters,.... anything you need when coding, but simple and easy to use. There's a Pro (paid) version for those who want even more.
https://www.jetbrains.com/pycharm/download
(This question is more than 10 years old. I got surprised, nobody answered about Pycharm before...)
I am searching for a Python IDE with visual studio features. After going through similar questions and reading reviews, I hardly see the following two features mentioned:
goto definition - e.g. go from the place where a method is called to its definition (perhaps the class is in another module).
find all references - something like "git grep method_name(" being done interactively inside the IDE.
Coding is so painful without them. Have you come across any python IDE with the above two features?
of course, the IDE need to have the essential features:
code autocompletion
integrated debugging
basic IDE functions like syntax highlighting, error highlighting, smart indentation, bracket
matching, etc.
Why not watch the great PyCon 2011: Python IDEs Panel!
You can use Python Tools which lets you program Python in Microsoft Visual Studio. PyCharm, Komodo IDE, or WingWare should all fit the bill as well.
Eclipse with PyDev is outstanding. (It's also portable across platforms, as an added bonus. And free. And widely-used.)
I've using PyCharm for all my Python projects for the past 8 months, and i definitely love it. I'd highly recommend it (even if it's not free, it's really cheap compared to its concurrents, and is far superior to them imho).
Alright, I found Wing, PyDev have the two features!
support PyCharm , very good IDE for python!
please advise me some good Python IDE, I was using netbeans but it does not have suitable code completion (when I press "." it gives me methods of all classes of python. It would be nice if netbeans would work as for ex. for PHP..
Thank you.
Eclipse with Pydev
nothing better out there
Pytools should add intellisense for python to visual studio if you are developing on windows. I have not tried it myself so I don't know how good it works.
I have also been searching for a good IDE for Python development. I tried using Emacs and Komodo but finally settled for PyCharm. It does a really good job at auto completing the code and I find it to be worth the money.
Depending on the type of development you do, you could get a discounted or even a free license.
well, many IDEs now come with pretty good code completion. Eclipse with pydev is nice, or you can get aptana studio 3 to perform similar to it.
Theres also jetbrain's PyCharm, if you don't mind paying for a licence (they do give a trial version too if you want to test it before buying). There are a lot of such IDEs, guess you have to try them out to see which suits your code completion tastes better.
Try Geany and Ctrl+Enter. Foo bar <= wrote this because SO said answer was to short ;)
PyCharm for pay or Komodo Edit for free.
Komodo has since long time an excellent Python support
I found the below links very helpful in deciding the python IDE. They provide a lot of insight into the features with respect to all the relevant IDEs. It looks like most of them have auto-code completion feature as per these links. Since I have been using eclipse and VS Code all my life, I stick with Pydev or VS Code, yes will need some plugins to install. Pycharm has lot of features, if you can afford paying some money. I also found intelliJ also supports a lot of features.
What IDE to use for Python?
https://wiki.python.org/moin/IntegratedDevelopmentEnvironments