How to install Python?
It doesn’t matter which OS you are using, Python3 comes with multiple OS compatibility.
Install Python on Windows PC
Install Python on MacOS/Linux
Python comes with it’s own shell called IDLE, which is basically an interface where you can directly write your code and execute it:-
But there are plenty of text-editors with plugins, syntax highlighting etc. available for free. So, I will strongly recommend you to use some text-editor with terminal/shell on MacOS and Powershell on Windows.
Terminal on MacOS can be opened by pressing command+space and typing “terminal” or “iterm2” and hitting return. Once opened, you can select ‘keep in dock’ for quick access in future.
If you are on Linux you probably do not need this advice, but look for “shell” or “terminal” in menu for your window manager.
On Windows 7 and above, PowerShell comes pre-installed, if you are on older OS search online for PowerShell installation on your Windows System. Then search in programmes for PowerShell.
Also if you are thinking that “Python IDLE” above is an easier way to quickly check few lines of codes, then you can launch the similar interpreter in terminal or PowerShell by simply typing “python” or “python3”
There are many text editors available e.g. VIM, Visual Studio, Notepad++ etc. but the most common and easy to use text-editors are:-
1. SublimeText3- It can be downloaded and evaluated for free from here. Though, there is currently no enforced time limit for the evaluation but you will keep on getting a popup to remind you to buy the license key time and again.
2. Atom- It is an open-source completely free editor developed by GitHub and can be downloaded from here
Note- This post or website is not getting any kind of affliation from SublimeText3 or Atom, they are recommended because of their performance and utility.