Writing and executing python requires that you have it installed on your system. Python can be downloaded from its official website. Follow this link to download python as per your operating system. This will open up as the image below.
Click on download link as per your operating system and follow the installation instructions.
Once installed on the system, open command prompt, type python and hit enter. This will open up python interactive shell which will look like
If you can see Python shell, you have successfully installed it on your system.
IDEs for Python
Python shell can be used to write and execute simple programs but it is not suitable for a complex application development. For that purpose, an Interactive Development Environment(IDE) is required. An IDE provides many features such as intellisense, auto code generation, searching references of methods etc. Any one of the following IDEs can be used for python development.
- Visual Studio Code
Any of the above can be used for writing python code.