Lightning-Fast Setup: Get VS Code & Python Up and Running in No Time [Windows | 2023]!

Опубликовано: 13 Февраль 2023
на канале: xvzf
165
6

n this video, we'll be setting up VS Code and Python in a quick and easy way. Follow along as we download the latest version of Python and install it, then download and set up VS Code. With our development environment ready, we'll write our first Python script by printing 2+2 and "Hello World". Join us for this beginner-friendly tutorial.



Script:

This is a speed run to get set up with VS code and Python.

Step one is to download Python.

Get the latest version. Once the installation wizard pops up, you just hit install now.
And Python will set up.
At this point, go ahead and disable the path length limit and close out.
Now that Python is installed, it's time to install a VS code for Windows.
Go ahead and hit download and VS code will download and start to install.
Go ahead and click these two boxes
and finish.
Set the theme and skip some of the other things for now.
The goal is to get things running in Python.
Really quick, if you open the little boxes on the left, you'll see some plugins.
We're going to ignore those for now.
The main idea here is that we just want to make a new directory that we can open in VS
code.
I'm just opening some file, some directory called code.
Code is going to be where I put a Python script.
Go ahead and just say yes here.
At this point, just make a new file, I'm just going to call it main.py and it's going to
be saving to this directory.
At this point, you'll be prompted to install the Python plugin.
Go ahead and install it.
Then we just wait for the plugin to install in VS code.
Once it's installed, we can go ahead and write some Python.
This first line, we're just going to print 2+2 and we're going to go ahead and print
"hello world".
That is how you set up VS code and Python.
Thanks for watching.