Getting Started with Python – Chapter 1: Setting Up Your Coding Environment

Table of contents
Before learn Python, we have to set up our environment.
Why? Without setting up our environment, we can’t learn or try Python codes as well as we want.
1. Download Python
First of all, we have to download Python for our machine. For that, we have to browse the internet.
Hurry up, open your favourite web browser and search for “Python”.
I use “Google Chrome” as my web browser.
After searching for that, you can see some kind of search results on your web browser like this;
Now, click the first link and go to the official Python website.
Or you can click this Official Python website link. Then you can see a website like this;
Now, you have to click the “Downloads” section, and it shows you some kind of crazy stuff like this.😅
But don’t worry, I’m with you, buddy…😎
You can select your operating system. If you’re using “Windows,” you can select it.
Otherwise, you’re using Mac, Linux or something else… You can select it.
Now, click on the button that shows you the Python version.
At this moment, they are giving the “Python 3.13.3 version” for us & sometimes, in the future, you’ll see different kinds of versions. It’s totally okay.
Because the version doesn’t matter to us for now. We are learners. That’s the reason.😏
Congratulations, now you’re downloading “Python” for your machine.😎🔥
Now, open the downloaded file and let’s start the installation process.
If you’re a Windows user, after opening the downloaded file, you can see a window like this;
Don’t panic now.
First, untick the “Use admin privileges when installing py.exe” and tick the “Add Python.exe to PATH”.
Then you can see a window like this;
Okay, now click the “Install Now” button. Then “Python” will install on your computer like this;
It takes a few minutes and after the installation, it gives you a message window like this;
Bravo, that’s it. You and I successfully installed “Python” on our computers.
Now, click on the “Close” button and end the installation process.
2. Select an editor
After downloading and installing “Python,” and we have to choose an editor too.
"Why we need an editor to code Python…? We can use Python shell for that…”
Yeah, yeah.. I know that too. But, trust me with an editor it’ll be easy to learn.
So shut up and do what I say… Okay?😏
Okay.
I’m using “Visual Studio Code” for my editor and you can use any other editor too.
Choosing “Visual Studio Code” was my personal choice. So don’t blame me.
If you don’t wanna use “Visual Studio Code” as your editor. It’s totally fine.
There are so many editors like VS Code.
You can Google and see them too.
If you wanna use what I use. Follow my steps.
Again, open your favourite web browser and search for “VS Code” like this;
Click on the first ink what you see as or visit to the “VS Code” official website using this link.
Then you can see a window like this;
The site will automatically detect your OS and generate a download button for you.
So, why are you waiting?
Click on the “Download for Windows/Mac/Linux” button and download your “VS Code” setup file for your machine.
After the download, open the downloded file and install your “VS Code” .
Okay, now we are done for now. We have installed latest Python version and latest VS Code in our machines.
I’ll see you in the next chapter to write and run our first Python program…❤️
Subscribe to my newsletter
Read articles from Kolitha Bandara directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Kolitha Bandara
Kolitha Bandara
I'm a self-learner ❤️