Just starting out...python a good choice?

Started by
18 comments, last by wodinoneeye 11 years, 5 months ago
Python's a great starting choice. It has an insane amount of applications and has 2 large libraries specifically tailored for game development. It's also good because it's fairly easy to incorporate it with more advanced languages later on as a scripting language. I'm planning on learning Python myself eventually. If you do go with python, here are some good libraries:

PyGame
PyGlet

For downloading and learning the language:
Python Official Website!

I'm a game programmer and computer science ninja !

Here's my 2D RPG-Ish Platformer Programmed in Python + Pygame, with a Custom Level Editor and Rendering System!

Here's my Custom IDE / Debugger Programmed in Pure Python and Designed from the Ground Up for Programming Education!

Want to ask about Python, Flask, wxPython, Pygame, C++, HTML5, CSS3, Javascript, jQuery, C++, Vimscript, SFML 1.6 / 2.0, or anything else? Recruiting for a game development team and need a passionate programmer? Just want to talk about programming? Email me here:

hobohm.business@gmail.com

or Personal-Message me on here !

Advertisement

For downloading and learning the language:
Python Official Website!


Their official website is actually Python.org. I'm not sure what you linked me there but I don't think that's right for downloading Python.
[size=2]Follow me on twitter.
Yes that's the right place. He probably mislinked it
An invisible text.
I'm going to go against the flow and say Python is a terrible language. It's one of the few languages I've run across which is incomprehensible on the fifth read-through. Java is also a terrible language, old and full of legacy bad language ideas, as well as just plain strange quirks..

C++ has plenty of old legacy bad language ideas and can be very incomprehensible. However, it's an open standard with decades of history and hundreds of libraries. You may not have a clue what you're doing, but you'll have a lot of options to trip over your own feet with a loaded chainsaw.

C# has only some legacy bad language ideas, is easy to read and understand, but has solid and strongly defined limitations. Also, you're stuck with either Micro$oft of Borg or GPL of Borg.

C is like C++, only there's no classes and your loaded chainsaw has no safety features.

Basic is easy to program in and understand, has a lot of safety features, but has no classes and you're quite limited to the language, unless (for a few) you write your own dlls - Usually in C++.

Meanwhile, if we ever get a compiler that can just understand English/your native language and can, in fact, "Just make me *an FPS", you'll spend most of your time giving the compiler directions like "Make the enemies harder, but not too hard" and the compiler will spend most of its time hating you and plotting to take over the world (seriously, all you need to say to kill off Humanity is "Optimize economic production".

>>> All programming languages are terrible <<<

Pick the one that clicks with you, then learn it.

* "a" and "an" are properly used based on which flow best, not on "consonant or vowel". Also, double negatives in English add. Double negatives negating is Latin grammar, taught by pretentious English teachers. Also, "a FPS" just sounds terrible.
I suggest JavaScript too!

It's very easy to learn. Event Based. And fits perfectly into your workflow of HTML and CSS!

Check out the Three.JS libary (If you like 3D)
http://mrdoob.github.com/three.js/

All JavaScript ^^


Edit:
Oh yeah, and JavaScript runs on EVERYTHING :D Browsers, Smartphones, Linux, Mac and PC. (It runs on OS if you export in into a Wrapper)

I'm not sure what you linked me there but I don't think that's right for downloading Python.

He linked you to the pyglet homepage which he already linked you to before, I think a Control-C Control-V accident has occurred.
I think you can use HTML5/Javascript to make games and not only static web-pages. The HTML5 spec has a canvas object to draw on, as I understand it (which, coupled with javascript, will let you make a game loop update/draw cycle).

Should you go with Python and Pygame, the pygame home page has a nice step-by-step tutorials series. I use Python + Pygame as it lets me focus more on the game design / design patterns / getting a basic grip on everything etc more than a graphics library API.

GL HF! smile.png
~ Not that I really have a clue
My recommendation for anybody who wants to program, either game or more serious apps, is: Spend time learning how to program and how to write good code. Don't get too stuck on one specific language and libraries and instead learn the concept behind. This is what they teach in College/University. The language used is only a tool to learn. Once you understand how code work and how to design software, learning a new language is trivial.

That being said, Python is a good tool to learn. There are plenty of good books and tutorials on it.
My blogs:

http://www.osrebel.com <-- En Français
L'information libre et la joie d'apprendre

http://www.osrebel.com/english <-- English Version
Free information and the joy of learning
Im in my fourth year of my software dev course now, and we only started learning python this year. I think its a very easy to understand language, and does a lot of the work for you that you may fall down on in c or c++, however i think its better to use c, c++ or similar to understand why python is such a good language, my programming teacher once said to us its good to learn all the mistakes and errors a language may produce, so you can learn how they are handled properly - every question he gave us for the entire year where small bugs he had found over his carrier in c, and had told us that 90% of them never would come up for us, but they where still good to know. I think its better to learn from mistakes rather then just letting python do them for you, you'll become a more rounded programmer if you know all the pitfalls and advantages of all languages, rather then just avoiding them, you can pick and choose your language according to what you want to do. Im not saying that python is a bad choice, i dont think there are any bad choices, evan what you will learn from using a bad language will only help you. Anyways after that waffly answer :P I learned HTML, javascript and then c++, i found it an easy progression, but you'll find its different for everyone, and everyone has their own prefrences.
Its not so much the python language as it is the libraries and what they can do for you to short circuit alot of coding on the many aspects involved in game writing.

That can be very useful in getting something to work instead of getting bogged down.

I used it professionally for a project (Im a experience C/C++ programmer normally) and as long as processing performance isnt an issue, it streamlined programming various required program aspects allowing me to get to what the project actually was.

Many of the common tasks are in Libraries and its more a matter of finding them.
--------------------------------------------[size="1"]Ratings are Opinion, not Fact

This topic is closed to new replies.

Advertisement