Important Python Features:
- Beginner's Language
- Simple and Easy to Learn
- Interpreted Language
- Cross-platform language
- Free and Open Source
- Object-Oriented language
- Extensive Libraries
- Databases Connectivity
Python is a Beginner's Language
For a Beginner who has never programmed before, using a statically typed language seems unnatural. It presents additional complexity that the beginner must master and slows the pace of the course. With Python , a beginner can quickly introduced to basic concepts such as loops and procedures. They can even probably work with user-defined objects in their very first course. Python's extreme syntactical simplicity , it allows for a beginner to utilise basic or advanced programming concepts, without much "boiler-plate" code like most other languages, for example to display output in screen is one line compared to most other languages requiring a lot more 'setup'.
Simple and Easy to Learn
Python is extremely easy to get started with. It offers an easy to understand syntax, simple setup, and has many practical applications in web development. The syntax isn't too annoying compared to other languages, and you can import a bunch of modules which can often make your code much shorter. There are excellent, straightforward tools to work with python code, especially the interactive interpreter ; you don't need to learn a build system, IDE, special text editor, or anything else to start using python. All you need only a command prompt and the interactive editor.
Python is an interpreted language i.e. interpreter executes the code line by line at a time. When you use an interpreted language like Python, there is no separate compilation and execution steps. You just run the program from the source code. This makes debugging easy and thus suitable for beginners. Internally, Python converts the source code into an intermediate form called bytecodes and then translates this into the native language of your specific computer and then runs it. You just run your programs and you never have to worry about linking and loading with libraries, etc.
Python can run equally on different platforms such as Windows, Linux, Unix , Macintosh etc. A Python program written on a Macintosh computer will run on a Linux system and vice versa. Thus, Python is a portable language .
Free and Open Source
Python is an example of a FLOSS (Free/Libre and Open Source Software). In simple terms, you can freely distribute copies of this software, read the software's source code, make changes to it, use pieces of it in new free programs , and that you know you can do these things. Python language is freely available at www.python.org . The source-code is also available. Therefore it is open source.
Python supports object oriented features. Compared with other programming languages, Python’s class mechanism adds classes with a minimum of new syntax and semantics. It is a mixture of the class mechanisms found in C++ and Modula-3 . Python classes provide all the standard features of Object Oriented Programming Language except strong encapsulation , which is only one of many features associated with the term "object-oriented".
The Python Standard Library is huge indeed. Python library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers , as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. It can help you do various things involving regular expressions, documentation generation, unit testing, threading , databases etc.
Python can be easily integrated with languages like C, C++, JAVA etc.
Python provides interface to all commercial databases.