summaryrefslogtreecommitdiff
path: root/basic_python
diff options
context:
space:
mode:
authorSantosh G. Vattam2009-08-22 03:01:23 +0530
committerSantosh G. Vattam2009-08-22 03:01:23 +0530
commitb5a27a9c5e876b2417501b6d5aa713e75df52fc9 (patch)
treed4da4424380e364ebb8fca21c84a3c865aa53ba2 /basic_python
parent670ce7ffab1a0d9c310a286821cf3d93e8d1236e (diff)
downloadsees-b5a27a9c5e876b2417501b6d5aa713e75df52fc9.tar.gz
sees-b5a27a9c5e876b2417501b6d5aa713e75df52fc9.tar.bz2
sees-b5a27a9c5e876b2417501b6d5aa713e75df52fc9.zip
Added interpreter content.
Diffstat (limited to 'basic_python')
-rw-r--r--basic_python/intro.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/basic_python/intro.rst b/basic_python/intro.rst
index d677ec8..cbad500 100644
--- a/basic_python/intro.rst
+++ b/basic_python/intro.rst
@@ -73,6 +73,26 @@ the Nokia 60 series phones. Python has been designed to be readable and easy to
* Python interfaces well with most other programming languages such as C, C++
and FORTRAN.
+Although, Python has one setback. Python is not fast as some of the compiled
+languages like C or C++. Yet, the amount of flexibility and power more than make
+up for this setback.
+
+
1.1 The Python Interpreter
--------------------------
+Typing python at the shell prompt on any standard Unix/Gnu-Linux system fires up
+the Python 'Interactive Interpreter'. The Python interpreter is one of the most
+integral features of Python. The prompt obtained when the interactive interpreter
+is similar to what is shown below. The exact appearance might differ based on the
+version of Python being used. The ``>>>`` thing shown is the python prompt.
+When something is typed at the prompt and the enter key is hit, the python interpreter
+interprets the command entered and performs the appropriate action.
+
+::
+
+ Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
+ [GCC 4.3.2] on linux2
+ Type "help", "copyright", "credits" or "license" for more information.
+ >>>
+