# HG changeset patch # User Santosh G. Vattam # Date 1250878796 -19800 # Node ID 628d035d559ae789c179cf9b7089f3de3ca142d2 # Parent 01ea4544ad810111b967396afc596e87f5b1e258 Added Advantages of Python section diff -r 01ea4544ad81 -r 628d035d559a basic_python/intro.rst --- a/basic_python/intro.rst Thu Aug 20 22:42:58 2009 +0530 +++ b/basic_python/intro.rst Fri Aug 21 23:49:56 2009 +0530 @@ -11,9 +11,6 @@ * IPython * Text editor - scite, vim, emacs or whatever you are comfortable with. - - - 1. Introduction =============== @@ -51,7 +48,30 @@ * Byte of Python: http://www.byteofpython.info/ * Dive into Python: http://diveintopython.org/ +**Advantages of Python - Why Python??** +* Python has been designed for readability and ease of use. Its been designed in + such a fashion that it imposes readability on the programmer. Python does away + with the braces and the semicolons and instead implements code blocks based on + indentation, thus enhancing readability. + +* Python is a high level, interpreted, modular and object oriented language. + Python performs memory management on its own, thus the programmer need not bother + about allocating and deallocating memory to variables. Python provides extensibility + by providing modules which can be easily imported similar to headers in C and + packages in Java. Python is object oriented and hence provides all the object oriented + characterstics such as inheritence, encapsulation and polymorphism. + +* Python offers a highly powerful interactive programming interface in the form + of the 'Interactive Interpreter' which will be discussed in more detail in the + following sections. + +* Python provides a rich standard library and an extensive set of modules. The + power of Python modules can be seen in this slightly exaggerated cartoon + http://xkcd.com/353/ + +* Python interfaces well with most other programming languages such as C, C++ + and FORTRAN. 1.1 The Python Interpreter --------------------------