Followers 0

# Python Editor

## 19 posts in this topic

So to everyone that helped me decided on python to learn programing thanks. Now I need a bit more help.
I went to [url="http://wiki.python.org/moin/PythonEditors"]http://wiki.python.o...n/PythonEditors[/url], to find an editor and the list was enormous..........

1. How do you chose?
2. Reccomendations?

PS- Im using windows 7. Edited by greenthingsjump
0

1

##### Share on other sites
You can't go wrong with Notepad++ as frob mentioned.

There is also the [url="http://docs.python.org/library/idle.html"]IDLE [/url]IDE for Python. It is free and lots of people like to use it.
And I think it comes bundled with the python installer. Though the Mac version I tried crashed a lot
1

##### Share on other sites
I just use any old text editor for Python, although preferably one with syntax highlighting, of course. In the past, I tried PyDev on Eclipse, but that bothered me, because I don't like seeing stupid squiggly lines in my code to mean that Eclipse doesn't know where this symbol name came from, and I don't like loading such a large program if all I want to do is code in Python.
0

##### Share on other sites
I've been a big fan of [url="http://www.activestate.com/komodo-ide"]Komodo[/url], which might be worth looking at once you've spent some time getting your feet wet with the language if you're willing to spend some money. They do also have a simpler editor-only (i.e. doesn't include the extra tools the full IDE provides) version called [url="http://www.activestate.com/komodo-edit"]Komodo Edit[/url] which is available for free.

However, I recently became aware of [url="http://www.jetbrains.com/webstorm/"]WebStorm[/url] for some JavaScript work I've been doing and loved it so much that I'll definitely be investigating that company's Python editor as well -- [url="http://www.jetbrains.com/pycharm/"]PyCharm[/url]. Again, this is a commercial editor, but the licencing is cheaper than Komodo, and if it's on par with the JavaScript version it'll be a great package. There's a free trial available.

Note that as a beginner it might be quite some time before you're able to or interested in using the additional features these editors offer.

Otherwise if you're after something free I'd second (third?) the recommendation of Notepad++, which doesn't have all the fancy bells and whistles of the above mentioned editors but is a great syntax highlighting editor, and as a beginner is certainly more than capable enough when you're getting started. Edited by jbadams
1

##### Share on other sites
I use either IDLE, GEdit (now has mac and windows versions, not GNOME exclusive anymore, hell I think theres a KDE version too now) or SharpDevelop. SharpDevelop is intended for use with ironPython but for all intents and purposes it works nicely as a visual studio style IDE with intellisense like features. SharpDevelop is my favourite although just using IDLE or GEdit is quicker on smaller scripts.
0

0

##### Share on other sites
The IDLE that comes with Python is great to work with. It indents automatically for statements and functions, which may save you a few seconds of time.

I couldn't seem to get Notepad++ to auto-indent, but eh maybe you're not lazy like me.
0

##### Share on other sites
After downloading five editor’s and being a bit confused on what I was looking at I started creating the only program I have learned to create. “Hello World” notepad++, komodo edit, IDLE (the free one with python), and pycharm. Being that I can navigate Google fairly well I figured it out on all three. I did not realize that I had criteria. 1. Simple to use, 2. Relatively cheap, 3. Make it user friendly, (easy to learn the program). As sad as this sounds with notepad++ I had a difficult time getting the program to run. (Which I later found out that meant debug mode is what I was looking for) I eventually did through YouTube and learning even more command prompt commands. I started komodo edit and this daunting $300 upgrade ad was staring at me. As silly as this sounds, as a college student there is no way I’m spending$300 anytime soon. It annoyed me. I finally started pycharm and it was amazing! It was easy to use, modest upgrade price and user friendly! Before you start picking me apart on the “user friendly” For me it’s the difference between Google and yahoo. I don’t like yahoo because it so busy. To the average idiot they wouldn’t know what to click first on yahoo and it would take them three times as long to do anything because they don’t know shit. Even if your experienced programmer and you have to switch editors for some reason, it would be nice to have an easy time learning the new program/editor.
1

##### Share on other sites
[quote name='greenthingsjump' timestamp='1349865399' post='4988665']
Before you start picking me apart on the “user friendly”
[/quote]
Not at all! User friendliness should always be one of the most important criteria when choosing software -- unless you need some functionality that's only available in a more complex package, or unless your preferred software is in some way defective you should [i]always[/i] opt for the software you find most comfortable to work with.

Your approach of trying different editors and choosing the one you were most comfortable with is a [i]great[/i] idea, and it's one I wish more people would follow. It's also something you can apply in other areas -- choosing between programming languages, different libraries, etc. It can be good to get advice and find out what the most popular options are, but you should always do the research and make your own decision based upon your own needs.

Don't think that there's any shame in choosing cheaper software either: there's no reason you should spend money if a cheaper or even free package offers the functionality you need, and as a beginner your requirements are still pretty basic. You might want more advanced features in future, but you can always re-evaluate your choices then -- and if PyCharm is your choice there's actually a very good feature set on offer without having to consider other options.
0

##### Share on other sites
Is there any editor or editor plugin somewhere that makes the syntax highlighting in python behave as Visual Assist X(VAX) in VS with C# and C++? I mean I would like to see function calls being highlight in the function color as well as the definition, this will make my life far easier as I find it hard to code fast without VAX in C++ as well.
0

##### Share on other sites
I use both Notepad++ and Pydev (Eclipse), which are close enough to be the best free representatives of two rather different tool classes: general purpose text editors to work with arbitrary files (not only Python code) without bothering with projects and configuration, and IDEs with decent debugging and code completion.
0

##### Share on other sites
[quote name='NightCreature83' timestamp='1349868167' post='4988672']
Is there any editor or editor plugin somewhere that makes the syntax highlighting in python behave as Visual Assist X(VAX) in VS with C# and C++? I mean I would like to see function calls being highlight in the function color as well as the definition, this will make my life far easier as I find it hard to code fast without VAX in C++ as well.
[/quote]

I believe pycharm does it, however it is a thirty day trial with an upgrade fee. Twenty-nine for students, ninety-nine for individuals.
1

0

##### Share on other sites
[quote name='greenthingsjump' timestamp='1349892573' post='4988794']
[quote name='NightCreature83' timestamp='1349868167' post='4988672']
Is there any editor or editor plugin somewhere that makes the syntax highlighting in python behave as Visual Assist X(VAX) in VS with C# and C++? I mean I would like to see function calls being highlight in the function color as well as the definition, this will make my life far easier as I find it hard to code fast without VAX in C++ as well.
[/quote]

I believe pycharm does it, however it is a thirty day trial with an upgrade fee. Twenty-nine for students, ninety-nine for individuals.
[/quote]
I can't find the option for it in Pycharm sadly
0

##### Share on other sites
I use PyScripter for Python on Windows, which someone recommended to me on these forums, and am happy with it. It bills itself as an IDE not just an editor and pretty much lives up to that. It has syntax and brace highlighting, code completion, integrated debugging, and an integrated python command prompt. I haven't tried other programs so maybe these features are common, but I've never had problems with PyScripter. Edited by jwezorek
0

##### Share on other sites
Ninja IDE also good and its free
[url="http://ninja-ide.org"]http://ninja-ide.org[/url]
0

##### Share on other sites
[quote name='NightCreature83' timestamp='1349868167' post='4988672']
Is there any editor or editor plugin somewhere that makes the syntax highlighting in python behave as Visual Assist X(VAX) in VS with C# and C++? I mean I would like to see function calls being highlight in the function color as well as the definition, this will make my life far easier as I find it hard to code fast without VAX in C++ as well.
[/quote]
SharpDevelop will do this on ironPython projects. ironPython is near enough source code identical with python 2.7. If you create a new console application the .py file will run in the regular python interpreter. 3rd party modules like pygame are thrown out the window though (ie you can't use them and the import statement will produce an error). Bonus though is that you can use .net libraries including XNA etc.
0

##### Share on other sites
I'm actually using sublime text 2 for scripting languages. It has what i need : syntax highlighting and You can add interpreter inside. The only downside is that console input doesn't work inside the editor( afaik ). But personally i don't use it a lot
0

##### Share on other sites
[quote name='6677' timestamp='1349981723' post='4989203']
[quote name='NightCreature83' timestamp='1349868167' post='4988672']
Is there any editor or editor plugin somewhere that makes the syntax highlighting in python behave as Visual Assist X(VAX) in VS with C# and C++? I mean I would like to see function calls being highlight in the function color as well as the definition, this will make my life far easier as I find it hard to code fast without VAX in C++ as well.
[/quote]
SharpDevelop will do this on ironPython projects. ironPython is near enough source code identical with python 2.7. If you create a new console application the .py file will run in the regular python interpreter. 3rd party modules like pygame are thrown out the window though (ie you can't use them and the import statement will produce an error). Bonus though is that you can use .net libraries including XNA etc.
[/quote]
Whilst it does what I want, I can't change the colors though to the ones I would like for my keywords, functions and so on. And the online documentation on where to find the syntax highlighting files isn't great on this either sadly enough.
0

## Create an account

Register a new account