Skip to navigation | Skip to content

Share your knowledge. Make a difference.

Python Programming - Why Python?

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic (by 2 people)   Your rating: 1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic

Ranked #5262 in Tech & Geek, #120726 overall

Rated G. (Control what you see)

So you want to start programming and aren't sure what programming language to learn?

 

So what's up with Python? Well if you have no inkling of how to program, read on.

So, what's so great about python? 

Python is a great programming language to start with. The context is very easy learn, and doesn't have as many rules as other programming languages. Here are a couple examples:
In C++, the popular Hello, world! program is :

#include stdout

int main()
{
std::cout << "Hello, world!\n";
}

with the output being: Hello, world!

The same program in Python would be:


print "Hello, world!"


Quite a difference, eh? The code is a lot cleaner than some of the other languages out there. Once you've got it down, it seems to be much easier to take a look at the code and know whats going on.

Python is also a very powerful language, able to do most anything that C++ or Java can do, and in some cases more. Such as extending classes (this brought on Jython, a python-integration into Java that allows programmers much more flexibility). Many programmer's will program in C++, but yet they will still use python for binding scripts and such.

Another great thing about Python is that you don't have to worry about assembly and compiling. You can run your programs right away and immediately track down any bugs or glitches.

If you want to start making games. Python has extended libraries, such as pygame or pyglet, available. There are 3d game engines such as Blender that you can program python scripts into to make the game engine even more flexible.

The best thing about learning python is that it will get you to start solving problems and thinking like a programmer. And once you are thinking like a programmer it is a fairly easy transition to almost any programming language.

So go ahead and give it a try. You can start learning at Learn Python (For Complete N00Bs).
It is a working progress and after I completely finish the python tutorial, i am going to move on to pygame tutorials. If you need any help, feel free to email me.

Good Books for Learning Python 

Python Programming: An Introduction to Computer Science

Amazon Price: $36.00 (as of 10/11/2008)

Programming Python

Amazon Price: $37.79 (as of 10/11/2008)

What Programming Language Do YOU use? 

Loading poll. Please Wait...

Check out these vids to get an idea of what Python can accomplish! 

YouTube thumbnail
A* Algorithm with Python-Pygam...

Runtime: 1:34 | 656 views | Comments

YouTube thumbnail
Python/Pygame TextClassTest2

Runtime: 0:14 | 643 views | Comments

YouTube thumbnail
Mediacenter PyGame

Runtime: 1:44 | 207 views | Comments

Reader Feedback 

fireofphoenix2000

Very interesting. I will definatly check out your toutorial.

Posted May 18, 2008

X
dwolters

About dwolters

Hey. My name is Derrick and I have been programming using several different languages. Lately I have been experimenting with different libraries and game engines with Python to develop games, with some great results. If you are interested in learning to program in Python you should go to Learn Python (For Complete N00Bs)

dwolters's Pages

See all of dwolters's pages