Creating and running a program with an IDE
Let’s recreate our hello.py program in VS Code. In order to do this, we’ll open a folder first. We have different options to do this. If you click on the file icon, there’s probably an Open Folder button that allows you to navigate to a folder that you’d like to open. It’s probably best to create a special folder for the examples in this book. Let’s say you choose the name python-illustrated. You’ll navigate to this folder (or create it on the spot), select it, and click Open.
Then, when the folder is open, make sure to be in the Explorer view by clicking on the files icon on the left. Next to the name of the folder, you will see icons. One of them is to create a new file. You can also right-click the mouse and choose New file in the Explorer view. Name the file hello.py.
It should open in the main area, the editor. In there, type the following:
print("Hello from VS Code!"...