Sitemap

Let’s Start Python

2 min readOct 9, 2021

--

If you are a beginner in programming, Python is a great place to start. I think Python is an easy language to understand for beginners in programming. In Python, programmers can write scripts using fewer lines of code to perform the same task compared to other languages like Java.

Using Python we can be used for desktop applications, web application development, network programming, game development, Artificial Intelligence and mobile app development. The important thing in python is a cross-platform language, which means that code written for one operating system, such as Windows, run well on Mac OS or Linux without making any changes to the Python scripts. Let’s get started,

Installing the Interpreter

To start Python programming we want to install python on the computer so follow the below link and select the correct version to your operating system and download it.

https://www.python.org/downloads/

We can write our code using the IDLE IDE (IDE mean is Integrated Development Environment and that can debug, syntax highlighting and help to write codes easily). That comes bundled with our Python package. After install python opens IDLE. Easily you can launch the IDLE program like how you launch other software (In the windows operating system you can search “IDLE” in the start menu search box click on IDLE to launch it).

Get Muditha Kasun’s stories in your inbox

Join Medium for free to get updates from this writer.

You’ll be presented Python idle ide shown below.

Python idle user interface.
Python IDLE interface

You can open the new file and write your python script.

Open a new file in python.

Now you can write your python code.

Now we have to do the final step. Go run> Run Module or(F5). Then you can see a new window to save the file with .py file format.

Press enter or click to view image in full size
Hello world example

--

--

Muditha Kasun
Muditha Kasun

Written by Muditha Kasun

0 followers

I am a tech enthusiast. I ❤️coding. I’m here to share my knowledge and help you learn to love it too!