Python Programming - Why Python?

Ranked #3,148 in Computers & Electronics, #62,495 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 Learning Python (For The Complete N00B).
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

Loading

What Programming Language Do YOU use?

Loading poll. Please Wait...

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

Bounce-simulator in Python and Pygame
by noampy | video info

40 ratings | 7,790 views
automatically generated by YouTube

Reader Feedback

submit

Amazon

Loading

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 game... more »

Feeling creative? Create a Lens!