• FEATURED

View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# Python Editor

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

19 replies to this topic

### #1greenthingsjump  Members

Posted 08 October 2012 - 02:55 PM

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

1. How do you chose?
2. Reccomendations?

PS- Im using windows 7.

Edited by greenthingsjump, 08 October 2012 - 02:56 PM.

### #2frob  Moderators

Posted 08 October 2012 - 03:10 PM

Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.

Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.

### #3kuramayoko10  Members

Posted 08 October 2012 - 03:49 PM

You can't go wrong with Notepad++ as frob mentioned.

There is also the IDLE 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
Programming is an art. Game programming is a masterpiece!

### #4Heath  Members

Posted 08 October 2012 - 04:24 PM

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.

Posted 08 October 2012 - 04:50 PM

I've been a big fan of Komodo, 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 Komodo Edit which is available for free.

However, I recently became aware of WebStorm 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 -- PyCharm. 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, 08 October 2012 - 04:54 PM.

### #66677  Members

Posted 09 October 2012 - 12:19 PM

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.

### #7FLeBlanc  Members

Posted 09 October 2012 - 12:36 PM

### #8azonicrider  Members

Posted 09 October 2012 - 12:45 PM

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.

*Too lazy to renew domain, ignore above links

### #9greenthingsjump  Members

Posted 10 October 2012 - 04:36 AM

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.

Posted 10 October 2012 - 04:51 AM

Before you start picking me apart on the “user friendly”

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 always 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 great 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.

### #11NightCreature83  Members

Posted 10 October 2012 - 05:22 AM

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.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max

### #12LorenzoGatti  Members

Posted 10 October 2012 - 11:22 AM

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.

Omae Wa Mou Shindeiru

### #13greenthingsjump  Members

Posted 10 October 2012 - 12:09 PM

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.

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

### #14greenthingsjump  Members

Posted 10 October 2012 - 12:10 PM

### #15NightCreature83  Members

Posted 10 October 2012 - 04:05 PM

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.

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

I can't find the option for it in Pycharm sadly

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max

### #16jwezorek  Members

Posted 10 October 2012 - 05:49 PM

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, 10 October 2012 - 05:54 PM.

### #17Biskut Merry  Members

Posted 11 October 2012 - 01:27 AM

Ninja IDE also good and its free
http://ninja-ide.org

### #186677  Members

Posted 11 October 2012 - 12:55 PM

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.

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.

### #19Sparkon  Members

Posted 11 October 2012 - 11:08 PM

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

### #20NightCreature83  Members

Posted 12 October 2012 - 03:06 AM

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.

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.

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.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.