Python For Beginners: Part-0 Getting A Byte Of Python
Python is an interpreted, high-level, general…… Okay, Let’s stop this definition drama right here and get straight to the point. Python is one of the weapon in arsenal to make that dumb computer smart and work for you. Nowadays, Its widely being used in Artificial Intelligence and Data Science. Python is versatile programming language used in different scope area including but not limited to web development, GUI programming, Embedded system programming, Network programming and game development.
Python mainly emphasizes on code readability and reusability. It’s also one of the easiest programming language to get started with.
Did you realize that you just learnt python. yes! it’s that simple. It may look like toy programming due to lack of intimidating syntax and style but it is one of the most powerful language. Big company like Google, Dropbox and Quora use python extensively in their high end products due to its ease of use and rapid prototyping. If you are absolute beginner in programming and want to learn in intuitive way, stick with us for some time. For those who already are familiar with programming and know basics you should probably stop wasting your time and start “pythoning” things or It’s not bad to spend few time with us to sharpen your spear ( don’t forget it’s a weapon).
Another benefit of using python is it’s huge community and libraries of libraries to do almost anything (google for <your_name> library python, you might find one). As you learn python , you will be able to use different libraries to make different stuff.
You may have seen different version and implementation of python. lets scratch our head little towards “version” first. Currently, there are two versions of python in market:
- python2.x — Currently in production and waiting for it’s day to end.
- python3.x — Trying to rule the programming world.
Let’s hope Guido van Rossum is not planning for python4 in near future to bring apocalypse. Technically ‘Python’ still means both python 2.x and python3.x so there might be confusion around which one to choose for getting started. Basically both version are same and one comfortable with python2 can easily switch to python3 and vice-versa. However, for learning It will be better to go with python3 as support for python2 is going to end in very first of January 2020, near right? Throughout this site ‘python’ refers to python3.x version unless explicitly specified.
Talking about implementation of python there are many. CPython, Cython, Jython(No, its not typo mistake), IronPython, PyPy, Rpython, RubyPython, PythonNet and i don’t know there might be some other Chinese implementation as well. These all are interpreter or underlying abstraction that convert high level python code to lower level byte-code or machine-code to get job done. When people speak about python they generally mean python language with CPython — a reference implementation of python. For now we will stick with CPython and switch to IronPython (We will talk about this topic later) back and forth.
This much information is enough before getting hands on actual python code. We will learn how to setup environment and get started in next post.
Bonus point: Name of this language was derived from the British comedy series “Monty Python’s Flying Circus”.