Which Python IDE has visual studio features? - python

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!

Related

IDE for Python ( like Visual Studio with visual assist X )? [duplicate]

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 !

Looking for a Python editor that will let me collapse functions

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...)

Python IDE with auto completion

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

Can you really use the Visual Studio 2008 IDE to code in Python?

I have a friend who I am trying to teach how to program. He comes from a very basic PHP background, and for some reason is ANTI C#, I guess because some of his PHP circles condemn anything that comes from Microsoft.
Anyways - I've told him its possible to use either Ruby or Python with the VS2008 IDE, because I've read somewhere that this is possible.
But I was wondering. Is it really that practical, can you do EVERYTHING with Python in VS2008 that you can do with C# or VB.net.
I guess without starting a debate... I want to know if you're a developer using VS IDE with a language other than VB.net or C#, then please leave an answer with your experience.
If you are (like me) either a VB.net or C# developer, please don't post speculative or subjective answers. This is a serious question, and I don't want it being closed as subjective. ...
Thank you very much.
update
So far we've established that IronPython is the right tool for the job.
Now how practical is it really?
Mono for example runs C# code in Linux, but... ever tried to use it? Not practical at all, lots of code refactoring needs to take place, no support for .net v3.5, etc...
If you want to use Python together with the .NET Common Language Runtime, then you want one of:
Python.NET (extension to vanilla Python that adds .NET support)
IronPython (re-implementation of Python as a .NET language)
Boo (Python-like language that compiles down to C#-equivalent MSIL code)
Using Python in Visual Studio without using the CLR seems like a bit of a waste to me. Eclipse with PyDev would be a much better choice.
I find it odd that your friend is against C# but is ok with Visual Studio. There is, after all, an open source development environment for .NET called SharpDevelop. The C# language is a standard. .NET is free (as in beer) and there is an open source implementation of that platform called Mono. The only "un-free" thing is Visual Studio (though there are "Express" versions which are free as in beer).
This has been discussed before in this thread. I personally prefer eclipse and pyDev.
I don't know why you would want to - perhaps something like IronPython Studio would be a happy medium. But as I said I don't know why you would want to use Visual Studio for Python development when there are much better options available.
Always choose the right tool for the right job - just because you can drive a nail with the butt-end of your cordless drill doesn't mean that you should. Visual Studio was not designed for Python development and as such will not be a perfect environment for developing in it. Please use the list I have linked to choose a more appropriate editor from that list.
As a side note, I am wondering why your PHP friend refuses to use C# (a free, industry standardized language) but is okay using Visual Studio (an expensive, closed-source integrated development environment).
Firstly, there seems to be a question as to whether python (or various implementations) are as 'powerful' as C#. I'm not quite sure what to take powerful to mean, but in my experience of both languages it will be somewhat easier and faster to write a given piece of code in python than in C#. C# is faster than cpython (although if speed is desired, the psyco python module is well worth a look).
Also I would object to your dismissal of Mono. Mono is great on Linux if you write an application for it from scratch. It is not really meant to be a compatibility layer between Windows and Linux (see Wine!), and if you treat it as such you will only be disappointed.
It just seems to me that you are taking the wrong approach. If you want to convince him that not everything Microsoft is evil, and he is adamant about not learning C#, get him to learn Python (or Ruby, or LUA or whatever) until he is competent, and then introduce him to C# and get him to make his own judgement - I'm fairly in favour of open source, and am far from a rabid Microsoft supporter, but I tried C#, and found I quite liked it.
I think that getting him to use python and visual studio in a suboptimal way will turn him against both of them - far from your desired goal!
Go here for a discussion on the Visual Studio IronPython IDEs.

Has anyone tried NetBeans 6.5 Python IDE?

Has anyone tried the NetBeans 6.5 Python IDE?
What are your opinions? Is it better/worse than PyDev? Do you like it? How does it integrate with source control tools (especially Mercurial)?
I will share some of the feelings from using it for quite a while now. Things that are roughly the same quality as in Eclipse+Pydev+mercurial:
editor, code-completion
debugger features
Things that are better:
autoimport
color schemes (Norway today rocks)
Mercurial support (though it is getting better and better in Eclipse)
Things that are worse:
zipped egg packages are not recognized for either code completion or the autoimport
libdyn packages (e.g. datetime) are not recognized
debugger is having trouble with multiprocessing package
you cannot choose file from outside of the project (/usr/bin/paster) to be the main file (this is what I use to debug Pylons applications)
Does anyone have something to add to the list?
BraveSirFoobar, it would be nice to know more about what problems you found -- the very, very slow part, as well as the crash. The first time you run the IDE it will index information about your Python platform and project and libraries - such that it can do quick code completion, go to declaration etc. later - but once that's done it's not supposed to be slow - but there might be bugs.
Mercurial should definitely be supported well, since the NetBeans project itself (and Solaris and Java) are all hosted in Mercurial repositories.
We plan to have really deep support for Python, much in the style of our Ruby support. One of the things which really helped in our Ruby work was the feedback from our early adopters, so if you try Python and have issues with it, please let us know so we can fix it. (Feedback links here: http://wiki.netbeans.org/Python )
-- Tor
Compared to pydev, I found it very, very slow, and it crashed (once) when I created a project from existing sources. It's still beta, though.
Integration with SCMs will be as good as netbeans is already (I only tried subversion, which worked fine).
Feature-wise it was about the same : refactor, debugging, code assist... I'll stick with pydev for the moment, which is IMHO a great tool.
Sun use Mercurial internally now, so expect that their IDE support for it will be top notch.
Having worked with PyDev and PyDev extension for Eclipse for the past few months, the move to NetBeans has been a very pleasurable one.
Without having to hunt all the different plug-ins for PyDev and Eclipse, NetBeans had everything I needed out of the box:
auto completion, super fast index search, style control import control, you name it.
And it seemed LESS bug prone than Eclipse (which is pretty stable).
Also, the built-in Vim like auto code snippets it uses are just fantastic.
IMO, it beats Eclipse hands down.
I'm hooked.
I started using it a little while back and I like it. I usually develop in a simple editor (SciTE), NetBeans is nice to organize larger projects.
wrote about it briefly here
How does it compare with PyDev Extensions? I've recently installed it and, to be honest, couldn't imagine myself going back to PyDev.
NetBeans seems interesting though, if only I wasn't already hooked onto a couple of other Eclipse plug-ins as well.
After looking at this, I decided to go ahead with PyDev than NetBeans.
However best wishes to NetBeans team for a faster and better Python support. Cant wait for that :)

Categories