Skip to content

Introduction To Python: About python and download links

May 22, 2009

Well I have been learning programming for the game server of cipher contest I and Zubin Mithra (http://zubin71.wordpress.com) are working on. Don’t know who else is there in this project with us. Think there will definitely more working on this with us.

So, I have been fooling around with Python. This is just a brief introduction about Python.

Python is simple to use, but it is a real programming language, offering much more structure and support for large programs than shell scripts or batch files can offer. On the other hand, Python also offers much more error checking than C, and, being a very-high-level language, it has high-level data types built in, such as flexible arrays and dictionaries. Because of its more general data types Python is applicable to a much larger problem domain than Awk or even Perl, yet many things are at least as easy in Python as in those languages.

Python allows you to split your program into modules that can be reused in other Python programs. It comes with a large collection of standard modules that you can use as the basis of your programs — or as examples to start learning to program in Python. Some of these modules provide things like file I/O, system calls, sockets, and even interfaces to graphical user interface toolkits like Tk.

Python is an interpreted language, which can save you considerable time during program development because no compilation and linking is necessary. The interpreter can be used interactively, which makes it easy to experiment with features of the language, to write throw-away programs, or to test functions during bottom-up program development. It is also a handy desk calculator.

Python enables programs to be written compactly and readably. Programs written in Python are typically much shorter than equivalent C, C++, or Java programs, for several reasons:

  • the high-level data types allow you to express complex operations in a single statement;
  • statement grouping is done by indentation instead of beginning and ending brackets;
  • no variable or argument declarations are necessary.

Python is extensible: if you know how to program in C it is easy to add a new built-in function or module to the interpreter, either to perform critical operations at maximum speed, or to link Python programs to libraries that may only be available in binary form (such as a vendor-specific graphics library). Once you are really hooked, you can link the Python interpreter into an application written in C and use it as an extension or command language for that application.

By the way, the language is named after the BBC show “Monty Python’s Flying Circus” and has nothing to do with reptiles. Making references to Monty Python skits in documentation is not only allowed, it is encouraged!

You can download Python here. All downloads redirect to files hosted at www.python.org, the official site for Python. The current version is 3.0.1, released on 13 February 2009.

Gzipped source tar ball (3.0.1) (sig)

Bzipped source tar ball (3.0.1) (sig)

Windows X86 MSI installer (3.0.1) (sig)

Windows AMD64 MSI Installer (3.0.1) (sig)

Mac OS X Installer Disk Image (3.0.1) (unsigned)

MD5 checksums and sizes of the released files:

220b73f0a1a20c4b1cdf9f9db4cd52fe   11258272   Python-3.0.1.tgz.

7291eac6a9a7a3642e309c78b8d744e5  9495088  Python-3.0.1.tar.bz2

be8f57265e1419330965692a4fa15d9a  13702656  python-3.0.1.amd64.msi

ffce874eb1a832927fb705b84720bfc6  13434880  python-3.0.1.msi

b17949fe1aa84c7b1b5c8932046c5b6f  16984391  python-3.0.1-macosx2009-02-14.dmg

if the above links are obsolete, then go here to get the latest version

http://www.python.org/download/
Advertisements

From → Programming, Python

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: