Welcome All!! In this post i will talk about python language. So lets begin.Python is very huge language and not possible to cover all thing within single article. In this post i have cover high level overview of python language What it is and what so great about it. Also gives you the birds eye view during this post so you get an idea whats to come.
First few question that come in every developer's mind that " what so great about python? " or " Why one should learn python? " and there are lots of good answers to those question, one is python is powerful language. It is expressive and productive and also comes with great standard libraries and allow to use third party libraries. Using python you can built anything from simple scripts to complex applications. you can do it quickly, you can do it safely and you can do with fewer lines of code you might possible. But that's just only part upon python is great. Another wonderful thing about python is its open. Its open source so you can get to know every aspect of python language when you want to know. Another benefit is that python is widely popular and has great community to support you when you ran into problem. this combination of openness and large user base means almost anyone from casual programmer to professional developer can engage with python at the level what they need.
Another benefit is the large use base is that python is showing up in more and more places. you may be wanting to learn python because its some technology or some language that you want use scientific packages in world written in python But for many people these reasons take back sits something more important. python is fun. python's expressive readable style quick editing and run development cycle and better is include philosophy. Mean it you can sit down and enjoy writing code rather then fighting with compiler and bad syntax. And python will grow with you as your experience become prototype and prototype become product.Python makes you experience in writing software not just easier but truly enjoyable.
History
Python is develop by the Guido van Rossum in the late of 1980's. He is best known as the author of the python language. In the python community, Van Rossum is known as a " Benevolet Dictator For Life (BDFL)", meaning is that he continues to oversee the python development process and improvement of language, making decisions where necessary.
Python is develop as open-source project as free to download and use it as you wish. the non profit python software foundation manages pythons as property and introduce strong rules to promote the language.
On Technical level python is strongly type language in the sense every object in the language has definite type. at the same time python us dynamic language means no type checking of code while running it. This is in contrast statically defined language which is like c++ and JAVA where compiler does lots of type checking for you rejecting programs which misuse the object. Ultimately the best description of python type system is that uses duck type system for object suitability for context that only determinated at run time.
Python is general programming language it is not intended to use any particular domain or environment but instead it is fruitfully used in the wide variety of tasks for example an extremely time sensitive and memory constraint environments. In the most part python us flexible and adaptable language as other modern programming languages. Python is an interpreted language which is big mistake technically because python is normally compiled in byte code before the execution. however this accomplish the experience of using python is one of the immediate executing code , this lake between editing and running is great joy while working with python.
Lets talk about the syntax of python is designed to be clear, readable and expressive.Unlike many popular language python uses white space to delimit code blocks and the process does a way the rings of unnecessary parenthesis forces universal layout this means all python looks like an important ways and you can read and learn very quickly. At the same time python has expressive syntax means the single line of code can contains lot of meaning, this expressive and highly readable code means python made it easy.
Python has many implementation. The original and still by far most common implementation is written in c.this version commonly refer as c python. other implementations are as follows,
History
Python is develop by the Guido van Rossum in the late of 1980's. He is best known as the author of the python language. In the python community, Van Rossum is known as a " Benevolet Dictator For Life (BDFL)", meaning is that he continues to oversee the python development process and improvement of language, making decisions where necessary.
Python is develop as open-source project as free to download and use it as you wish. the non profit python software foundation manages pythons as property and introduce strong rules to promote the language.
On Technical level python is strongly type language in the sense every object in the language has definite type. at the same time python us dynamic language means no type checking of code while running it. This is in contrast statically defined language which is like c++ and JAVA where compiler does lots of type checking for you rejecting programs which misuse the object. Ultimately the best description of python type system is that uses duck type system for object suitability for context that only determinated at run time.
Python is general programming language it is not intended to use any particular domain or environment but instead it is fruitfully used in the wide variety of tasks for example an extremely time sensitive and memory constraint environments. In the most part python us flexible and adaptable language as other modern programming languages. Python is an interpreted language which is big mistake technically because python is normally compiled in byte code before the execution. however this accomplish the experience of using python is one of the immediate executing code , this lake between editing and running is great joy while working with python.
Lets talk about the syntax of python is designed to be clear, readable and expressive.Unlike many popular language python uses white space to delimit code blocks and the process does a way the rings of unnecessary parenthesis forces universal layout this means all python looks like an important ways and you can read and learn very quickly. At the same time python has expressive syntax means the single line of code can contains lot of meaning, this expressive and highly readable code means python made it easy.
Python has many implementation. The original and still by far most common implementation is written in c.this version commonly refer as c python. other implementations are as follows,
- Jython - it is written to target the Java Virtual Machine.
- IronPython - it is written to target .NET run time.
- Pypy - it is written for specialized subset of python called Rpython.
These implementations generally trails behind the cpython which is consider to be the standard for the language.
There are two important version of python "Python2" and "Python3". These two versions represents changes in the key element in the python language. For these reason the code written in "Python2" will not generally work in "Python3" unless you take precautions. But python2 is more older and well established then the python3. python3 advance to the known short coming the older version. it is the definite the future of python and you should use it at all possible.
Lets configure the development environment.
To install python on windows system you need to visit the https://www.python.org/downloads/windows/ from this page choose the msi installer for your windows environment like 32bit or 64bit platform then download and run the installer and follow the steps. once python is installed on your system you need to configure the environment path for the python. mine is "c:\python33 and c:\python33\scripts" you can change it at your own comfort. now open the command prompt to check whether python is installer or not run the command python.
if python is not installed property then command will give you as not recognized command.if it is successfully configured then you will get python environment running as follows.
welcome to the python development environment.
To install python on Linux following steps (steps are based on consideration of Ubuntu linux operating System)
- Go to Ubuntu software center > search python 3.3 or latest version
- Select appropriate entry and click on install button. (you may need to enter password to begin installation)
- open terminal run "python" command as on windows.
and your are done with python installation on Linux operating system.
In next part we will learn the basic syntax of python and datatypes.

No comments:
Post a Comment