basic_python/intro.rst
changeset 33 b850a2b9fc21
parent 32 628d035d559a
child 34 7a243a6d8625
equal deleted inserted replaced
32:628d035d559a 33:b850a2b9fc21
    71   http://xkcd.com/353/
    71   http://xkcd.com/353/
    72 
    72 
    73 * Python interfaces well with most other programming languages such as C, C++ 
    73 * Python interfaces well with most other programming languages such as C, C++ 
    74   and FORTRAN.
    74   and FORTRAN.
    75 
    75 
       
    76 Although, Python has one setback. Python is not fast as some of the compiled 
       
    77 languages like C or C++. Yet, the amount of flexibility and power more than make
       
    78 up for this setback.
       
    79 
       
    80 
    76 1.1 The Python Interpreter
    81 1.1 The Python Interpreter
    77 --------------------------
    82 --------------------------
    78 
    83 
       
    84 Typing python at the shell prompt on any standard Unix/Gnu-Linux system fires up
       
    85 the Python 'Interactive Interpreter'. The Python interpreter is one of the most 
       
    86 integral features of Python. The prompt obtained when the interactive interpreter
       
    87 is similar to what is shown below. The exact appearance might differ based on the
       
    88 version of Python being used. The ``>>>`` thing shown is the python prompt. 
       
    89 When something is typed at the prompt and the enter key is hit, the python interpreter
       
    90 interprets the command entered and performs the appropriate action.
       
    91 
       
    92 ::
       
    93 
       
    94   Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
       
    95   [GCC 4.3.2] on linux2
       
    96   Type "help", "copyright", "credits" or "license" for more information.
       
    97   >>> 
       
    98