Python Programming - Why Python?

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic by 2 people | Log in to rate

Ranked #3,522 in Tech & Geek, #83,337 overall

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 for the Absolute Beginner

Amazon Price: $15.84 (as of 01/05/2010) Buy Now

Python Programming: An Introduction to Computer Science

Amazon Price: $34.24 (as of 01/05/2010) Buy Now

Programming Python

Amazon Price: $37.79 (as of 01/05/2010) Buy Now

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 | 5800 views | Comments

YouTube thumbnail
Ugy ( unamed game yet ), Game ...

Runtime: 1:44 | 971 views | Comments

YouTube thumbnail
Bounce-simulator in Python and...

Runtime: 2:46 | 624 views | Comments

automatically generated by YouTube"

Reader Feedback 

submit

by dwolters

Hey. My name is Derrick and I have been programming using several different languages. Lately I have been experimenting with different libraries and g... (more)

Explore related pages

Create a Lens!