What is Visual Studio Code?
- VS code is a free code editor
- We will use this tool all semester to work through assignments, projects, and applications written in Python
Why Use Visual Studio Code?
- VS Code is fast!
- Multi-instant, plethora of extensions, edit, navigate, debug…fast!
- VS Code is cross-platform
- Compatible with Windows, Mac, Linux
- Debugger included
- Rich intellisense and autocomplete
- Refactoring features to tweak and improve existing code
- Terminal included
- Includes Agent Mode and MCP Servers
Where Can I Get Visual Studio Code?
-
https://code.visualstudio.com/download
- Note: There is a Mac version!
- Once VS Code is installed and running, open the Extensions Marketplace and search for “python” to install the official Microsoft Python Extension.

How to Use VS Code?
- Open the folder that will contain your file(s):
File, Open Folder

- Click the VS Code explorer icon to show the files in the folder (none at this point!):

- Create your Python file (Python files have a ‘.py’ extention):
File, New File

- In the File Explorer Dialog box that appears, confirm the location and click Create File to save it:

- Start entering your Python code in the file:

- Enable Auto Save:
File, Auto Save, to automatically save your changes to the file

Notice the gray circle next to the file name no longer appears, indicating that all changes to the file are saved.
