Introduction
In this era of diversity in the latest technology, the ability to learn and be equipped in languages is the most challenging and interesting thing for a developer or a geek you can say. Me being a .NET developer, I found it interesting personally to get started with Python, an open source programming language using the Microsoft IDE, the latest one, i.e., Visual Studio Code. There are many reasons to choose & learn Python as my choice out of the box now since Machine Learning is the newest! Python is the best programming language and lightweight to use. I again say it is my personal choice to choose Python. Enough talk, let’s get started with what Python actually is and some facts about Python.
Python??
It’s an interpreted language which obviously follows object-oriented principles. Now, a lot of technical terms are being used. As of now, I know C# (Programming Language) is interpreted into bytecode and then is compiled by the Common Language Runtime whereas Python is a completely interpreted language, which means it is executed directly at the runtime unlike the compiled language, which first gets compiled into the assembly language which any CPU can understand. Python is considered as one of the best Rapid Application Development programming languages. It is easy so far for me to learn Python though it is just the beginning. Its semantics are diversified, that is, it makes easy as well as strict for the developers to follow the coding convention. The indentation is a part of its syntax and the semantics are modular which makes it rather more convenient for the developers to maintain the code.
Setting up Python
Here, I would be sharing the process to set up Python on Windows. First of all, check if Python is pre-installed on your system. To check that, open Command Prompt and type python. If the output is not desirable i.e. ‘python’ is not recognized, then it is not installed to that path.
To download and install Python, click on the below link and download: Download Python for windows. Now, once downloaded, install the Python file with .msi extension in a path and navigate to the same path in command prompt and type python there. This output would show Python with the version installed and we are ready to write our first Hello World program and follow the tradition.
But before that, one of the important things to be done is setting up the environment variables or the system path. This is mainly required in UNIX and Windows because the OS searches for the executable in the specified path in the environment variables set. In Macintosh, the path is handled by the installer. Thus, the below images would guide to set the variables.