From the course: Programming Foundations: Fundamentals

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Running Python in an IDE

Running Python in an IDE

- Let's take a look at a few ways we can run our Python programs in VS Code. Let's go ahead and open up our Exercise Files folder. To do that, we're going to click on Open Folder, and then we're going to choose Exercise Files. Now the first thing you'll notice over here on the explorer pane is that we have a list of all of the folders inside of our Exercise Files directory, but there's this one folder that we didn't create, .vscode. You don't have to worry about changing anything here for the course. This is just a special folder created by VS Code in order to store some metadata. Let's go ahead and open up one of the files. We're going to open the one inside of chapter 02, and we're going to choose 02_07. This looks really different from what we've seen before in our simple text editor. The first thing you notice is the use of line numbers over here on the left side. We call this the gutter. Using line numbers inside…

Contents