Before you start working in python, you need to install Python on your computers. There is multiple Python distribution available today.We can install Python from www.python.org this is called ad CPython installation and comes with python interpreter, Python IDLE (Python GUI) and Pip (Package Installer).
There are many other Python distribution are available. Anaconda Python distribution is one such highly recommended distribution that comes preloaded with many packages and libraries (e.g., NumPy, SciPy, Panda libraries etc..).Many popular IDEs are also available e.g., Spyder IDE, PyCharm, Notepad++ etc. In Anaconda Python distribution Spyder IDE is already available.
The CPython comes with Python interpreter, Python IDLE (GUI based) and PIP (Package Installer). We can work with both Interactive Mode and Script Mode by using Python IDLE.
Once you have Python installed on your computer, you are ready to do work on it, you can work in Python in following different ways.
The Interactive interpreter of python is also called as Python Shell. Interactive mode provides very useful for testing code you can type the commands one by one and get the result.
>>> 10+5 15 >>>25-2 23
Interactive mode does not save the commands entered by you in the form of program. The solution for this problem is the Script Mode. To work in a Script Mode, you need to do the following.