• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
greenthingsjump

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

Share this post


Link to post
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 this post


Link to post
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 this post


Link to post
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
Added link.
1

Share this post


Link to post
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

Share this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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

Share this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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 this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0