Tuesday, 22 March 2016

Python Programming

Dear All,

            I am glad to inform you that I participated in short term training programme on “Python Programming” at NITTTR Chennai from 07.03.2016 to 11.03.2016. I believe that Python is very much useful for software development. While there are more powerful languages (Lisp, C, Java etc.), Python gets a lot of different things right, and right in a combination that no other language I know of has done so far.

            Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. It’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java.

           The most up-to-date and current source code, binaries, documentation, news, etc., is available on the official website of Python: https://www.python.org/. The same site also contains distributions of and pointers to many free third party Python modules, programs and tools, and additional documentation.


Installing Python is generally easy, and nowadays many Linux and UNIX distributions include a recent Python. Even some Windows computers now come with Python already installed.
Here are the simple steps to install Python:

Unix & Linux Installation

  • Open a Web browser and go to http://www.python.org/download/
  • Follow the link to download zipped source code available for Unix/Linux.
  • Download and extract files.
  • Editing the Modules/Setup file if you want to customize some options.
  •  run ./configure script
  •  make
  • make install
This install python in a standard location /usr/local/bin and its libraries at/usr/local/lib/pythonXX where XX is the version of Python that you are using.

Windows Installation

  • Open a Web browser and go to http://www.python.org/download/
  • Follow the link for the Windows installer python-XYZ.msi file where XYZ is the version you need to install.
  • To use this installer python-XYZ.msi, the Windows system must support Microsoft Installer 2.0. Just save the installer file to your local machine and then run it to find out if your machine supports MSI.
  • Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.


A Python script can be executed at command line by invoking the interpreter on your application, as in the following:

$python script.py # Unix/Linux

Another website which is useful in learning python is http://www.tutorialspoint.com/python.

With Regards

Dr.K.Ratna Babu, L/CME GPT Addanki.