Setting Up a Python Development Environment

힘센캥거루
2025년 10월 8일(수정됨)
2
30

Today, I'm going to write about setting up a Python execution environment using Visual Studio Code.

1. Download Python

First, since we'll be using Python, let's download Python.

Just enter the top result from the Google search for python.

For those who find searching tedious, here's the direct link.

Setting Up a Python Development Environment-1

Once on the Python page, click the download button to download Python.

Setting Up a Python Development Environment-2

Install Python and make sure to check 'Add Python 3.10 to PATH'.

This means you're adding Python to the Windows program execution path.

Setting Up a Python Development Environment-3

2. Download Visual Studio Code

Now that Python is installed, it's time to install Visual Studio. Search for visual studio code on Google.

Note that visual studio and visual studio code are different programs.

Here's the link as well.

Setting Up a Python Development Environment-4

If you've downloaded the program suitable for your operating system, proceed to install it.

Just keep clicking next until it's done, it's not difficult.

Setting Up a Python Development Environment-5

Below is what it looks like when Visual Studio is running.

Create a folder where you'll develop your programs.

Creating a folder directly in the C:\ path makes it much more convenient for developing and managing programs later on.

Setting Up a Python Development Environment-6

I created a folder called coding inside the C:\ drive.

The path is C:\coding.

If you get a trust question, just click trust.

Setting Up a Python Development Environment-7

3. Set Up Python Environment in Visual Studio

First, open a new terminal. You can run Python and issue commands via the terminal, or observe the program execution process.

Think of it as a sort of interface to issue commands to the computer.

Setting Up a Python Development Environment-8

Click on the marketplace on the left (or use the shortcut Ctrl + Shift + X) to install the Korean package.

If you downloaded it as the Korean version initially, no need to install. 

Setting Up a Python Development Environment-9

Then search for python and install the three checked items below.

These packages check for errors, making it easier to code.

Setting Up a Python Development Environment-10

Now, create a Python program inside the coding folder.

Write any name in English and add .py at the end to make it a Python file.

Opening the file brings up the coding window on the right.

Setting Up a Python Development Environment-11

Let's try printing the famous "hello world".

Enter print("hello world") and click the ▶ button in the top right to see the program run in the terminal. 

Setting Up a Python Development Environment-12

4. In Conclusion...

Many programmers on YouTube use Visual Studio Code for coding.

I hope you slowly enjoy coding while watching YouTube or reading books, discovering the fun of Python.

관련 글

Automating School Work – Using AI to Check Subject-Specific Remarks in Student Records
Automating School Work – Using AI to Check Subject-Specific Remarks in Student Records
If I had to pick the most meaningless, exhausting, and boring task at school, I would choose checking student records.In middle school, the student re...
Book Review and Challenge Review of Chapter 7 of *Building an LLM from Scratch*
Book Review and Challenge Review of Chapter 7 of *Building an LLM from Scratch*
Chapter 7 covers the process of fine-tuning a model to follow instructions.In other words, making it give the desired response to a given question.As...
Review of Chapter 6 of *Build an LLM from Scratch*
Review of Chapter 6 of *Build an LLM from Scratch*
Chapter 6 is about fine-tuning for classification.The example used is building a spam classifier.A spam classifier determines whether something is spa...
Review of Chapter 5 of *Building an LLM from Scratch*
Review of Chapter 5 of *Building an LLM from Scratch*
Today is December 14.The challenge period actually ended two weeks ago, but I couldn’t just give up on writing a review.Because these TILs I leave lik...
Impressions After Reading Chapter 4 of “LLM From Scratch”
Impressions After Reading Chapter 4 of “LLM From Scratch”
Today is November 26, so if I finish one chapter a day, I’ll complete the challenge.I’m not sure if I can do it with my first and second kids constant...
Review of Chapter 3 of Learning LLM from Scratch
Review of Chapter 3 of Learning LLM from Scratch
After spilling a bucket of water on my MacBook, I was in shock and wasted about 3-4 days. In retrospect, since my MacBook was already damaged, I should have thought of it as being sent for repair and done something. Anyway, although it's a bit late, I am determined to see it through and leave a review of Chapter 3. 1. Attention Mechanism Chapter 3...

댓글을 불러오는 중...