Python is readable, dynamic, pleasant, fast, flexible and powerful language. It is a programming language which helps you work quickly and integrate systems more easily.
It executes instruction directly without any compilation like in C, C++, Java. Python converts the source code into bytecode which is then translated into computer specific language to run it. No need of linking and loading with libraries.
- Platform Independent
Just like java, Python code can be executed on multiple OS, that is written once and can run anywhere, you just need Python installed on your system.
- Free and Open Source it is freely available in the market and is “Open Source” which enables you to modify the code as per your need.
- High-level Language
We do not have to worry about low level details like managing memory leaks or register level information.
It can be embedded with any language.
- Robust: Just like Java it has its own memory management built in techniques.
- Rich Library Support
The Python Standard Library is very vast. Its uses battery included concept that is to import your code and use it according to your need.
Current Applications of Python
- Mostly Linux Installer is written in Python.
- Python is mostly used for web development, and most common web frameworks are Django, Fabric and Pyramid.
- Supports Socket and GUI programming.
- It is also used for embedded and for AI programming.
- Run on advanced Content Management Systems such as Plone and Django CMS.
- It is also used as a support language by software developers for ‘Build Control’ and Management, Testing, and in many other ways.
Sim￼￼￼ple Python Code
Writing code in Python is simple as English language, if you follow proper method of writing codes in Python. It is very simple for others to understand.
- Writing code in version 2:
[js] print “Hello Python” [/js]
- Writing code in version 3:
[js] print (“Hello Python”) [/js]
Which Python version to use?
Below are few considerations that can hep you decide.
- This is the current version on Eniac, so we recommend using it
- Last stable release before version 3
- Implements some of the new features in version 3, fully backward compatible
- Released a few years ago
- Much cleaner language in many ways
- Strings are in Unicode, not in ASCII
Note: Many third party tools are still not compatible with Python 3.
I hope this blog gives you some idea about Python language and some confidence to work on Python as well. For more similar blogs on Python keep exploring or subscribes to our blogs. 🙂