VISUAL STUDIO CODE · ОСНОВЫ · LESSON 04
Create a project.
Folder and files · about 12 minutes
STEP 1The project lives in a folder.
First, create a separate folder like my-first-project. It'll have files from one program.
✦ Each project has its own folder, so it is easier to find a job.
STEP 2Open the folder in VS Code
Select File → Open Folder, specify the project folder, then create the hello.py file in it through the New File icon.
How the project worksfoldermy-first-projectFile.hello.pyCodeprint(…)
✦ The extension .py says it is a Python file.
TRY IT YOURSELFPractice
Create a folder my-first-project, open it in VS Code and add a file hello.py. Check that the file is visible on the left in Explorer.