Python is an easy-to-use interpreter based language. It's a platform independent language which runs on multiple platforms like Windows, Linux, Mac etc. Though, python comes preinstalled on Linux and MacOS, it's preferred to check and install the latest version.
Installing Python IDE Seperately
Thonny IDE is easy to install as it doesn't require Python to be installed seperately.
- Download Thonny IDE from here.
- Run the installer to install the software.
- Click on File > New and write your python code.
- Save the file with the extension .py.
- Download Python IDE seperately (read Installing Python IDE Seperately)
- Download Pycharm IDE from here.
- After installation process, select Create new project and select New > Python File.
- Save the file with the extension .py.
You may also use Python IDLE directly instead of using above softwares.
- Download Python IDE from here.
- Run the installer to install the software. During installation process, check Add Python to environment variables to run Python from anywhere.
- Once installation is complete, you can run Python.
- Select New > Python File and save the file with the extension .py.
After setting up Python, we're ready to make our first program called 'Hello World'. Just type the following code,
print("Hello world!")
Congrats! You've successfully made your first Python program.