What is Python?

what is the python programming language?Python is a popular interpreted general-purpose, object-oriented, high-level programming language with a dynamic semantic. It’s design philosophy is to make code readability one of the main features of this programming language. This also also causes programs written in Python to have fewer lines of source code compared to other similar languages such as C or C++ for instance. It can be used for both small programs or large projects.
Due to it’s high level built when it comes to data structure and features such as dynamic binding and dynamic typing makes it a very useful language for Rapid Application Development, scripting used on webservers or for combinding various components and make then work together but like many of the other dynamic languages, Python is often used as a scripting language.
Python is a rather simple programming language. It is easy to learn especially since it’s syntax emphasizes on readability which makes it easier than some other languages such as Perl or C. This also causes the code to be easier to maintain or develop even futher at a later time.
Python also supports modules and packages, so that you can often download premade modules or packages and not having to code everything from the bottom.
Python is a free language and it’s interpreter and all of the the standard library are available both as source or binary form for all platforms.
One of the reasons Python is such a popular language is that once you start using it, you will just love the increased productivity it can provide. Because there are no need to compile your code, the edit-test-debug process is incredibly fast. Debugging a program in Python is often easy: You will never see errors such as segmentation faults. Instead, if the interpreter discovers an error of some kind, it raises an exception instead and if the exception isn’t catched, the interpreter prints a stack trace for you to use. You can then use a source level debugger to inspect the local and global variables, evaluate the arbitrary expressions, setting your breakpoints and use this to step through the code one line at a time until you find the bug. This debugger is also written in Python.

A small example of a Python script could look something like this:

friends = ['Michael', 'George', 'Bill', 'Linda']
for i, name in enumerate(friends):
    print "iteration {iteration} is {name}".format(iteration=i, name=name)

Which would result in the following output: iteration 0 is Michael iteration 1 is George iteration 2 is Bill iteration 3 is Linda