Friday, 29 June 2012

Features of Python

1.    Easy-to-learn: Python has relatively few Keywords, simple structure, and a defined syntax. This allows the          student to pick the language in short time period.
2.    Easy-to-read: Python code is much more clearly defined and visible to eyes.
3.    Easy-to-maintain: Python success is that it’s source code is fairly easy-to-maintain.
4.    A broad Standard Library: One of Python’s Strength is the bulk of the library is very portable and cross- platform compatible on UNIX, Windows, and Macintosh.
5.    Interactive Mode: Support interactive mode in which you can enter results from a terminal right to the language, allowing interactive testing and debugging of snippets of code.
6.    Portable: it can run on a wide variety of hardware platforms and has the same interface on all platforms.
7.    Extendable: you can add low-level modules to the python interpreter. These modules enable programmers to add to or customize their tools to be more efficient.
8.    Databases: Python provides interfaces to all major commercial databases.
9.    GUI Programming : It supports GUI Programming that can be created and ported to many  system calls, libraries, and windows system such as Windows MFC, Macintosh, and the X Window System of Unix.
10.  Scalable: Python provides a better structure and support for large programs than shell scripting.
11.  It supports Structural and functional programming methods as well as OOP.
12.  It can be used as a scripting languages or can be compiled to byte-code for building large Application.
13.  It supports automatic garbage collection.
14.  It can easily be integrated with C, C++, COM, ActiveX, CORBA, and Java. 

Thursday, 28 June 2012

Introduction



1.    Python is a general purpose interpreted, interactive, object-oriented and high-level Programming language.
2.    It was created by Guido Van Rossum in late eighties and early nineties.(GNU General Public License(GPL)) at the National Research Institute for Mathematics.
3.    It is derived from many other languages, including  ABC, Module-3, C, C++, Algol-68, SmallTalk, and Unix Shell and other Scripting Languages.
4.    It was designed to be highly readable which uses English Keywords frequently where as other languages use punctuation and it has fewer syntactical constructions than other languages.
·         Python is Interpreted: This means that it is processed at runtime by the interpreter i.e. It is similar to PERL and PHP.
·         Python is Interative: This means that you can exactly sit at a python Prompt and Interact with the interpreter directly to write your programs.
·         Python is Object-Oriented :This means that Python supports Object-Oriented Style or technique of programming that encapsulates within objects.
·         Python  is Beginners Language: Python is great language for the beginners and support a range of application ,from text processing to WWW browsers to games.