Prepare Your Development Environment

Each student in CSE 111 must install and use three pieces of free software which are:

If you recently completed CSE 110, it is possible that you already have all three pieces of software installed on your computer. Watch these three videos from Microsoft that explain a bit about Python, Visual Studio Code, and the Microsoft Python extension in VS Code.

If your computer doesn’t have Python, VS Code, and the Python extension for VS Code already installed, follow these steps to install the software:

  1. Download and install the latest stable version of Python 3.14 from the python.org Downloads page. As of March 2026, the latest stable version of Python 3.14 is Python 3.14.3.
    1. Open the Python downloads page in your browser.
    2. Download and save the Python 3.14 installer for your operating system.
      Do not install Python from within VS Code or from the Microsoft Store or using Anaconda or homebrew. Download and install Python from the link given in step a above.
    3. Double click the file that you downloaded to start installing Python.
    4. On the first screen of the installer, be certain to check both boxes: “Install launcher...” and “Add Python 3.14 to PATH” as shown in this screen shot:

      The first screen of the Python installer
    5. Click the “Install Now” link and Python will be installed on your computer.
  2. Download and install VS Code.
    1. Open the Visual Studio Code download page in your browser.
    2. Download VS Code for your operating system.
    3. Install VS Code.
    4. Accept all the default settings.
  3. Download a sample Python program.
    1. Create a folder named “cse111” (without the quote marks) on your computer where you will store all the programs that you write for CSE 111.
    2. Download and save this sample Python file into the folder that you created.
  4. Install the Microsoft Python extension in VS Code.
    1. Run VS Code on your computer.
    2. Click the VS Code “File” menu, then “Open Folder...” VS Code will open a navigator window.
    3. Using the navigator window, select the cse111 folder that you created a few steps ago.
    4. In VS Code, open the sample Python file (sample.py) that you downloaded.
    5. In the lower right corner of VS Code, a small dialog will open that says, “The 'Python' extension is recommended for this file type.”
    6. Click the “Install” button in that dialog.
  5. In VS Code, enable the “Python Terminal Execute in File Dir” setting.
    1. If your computer is running Microsoft Windows, click the VS Code “File” menu, then “Preferences”, then “Settings”.

      How to open Settings in VS Code

      or

      If your computer is running Mac OS, click the “Code” menu, then “Settings...”, then “Settings”.

    2. In the “Search settings” box, enter “Python Execute In File Dir” and then check the checkbox on the left of the option “Python > Terminal: Execute In File Dir”
      How to find and enable the Python Execute in File Dir option
  6. In VS Code, create a launch.json file.
    1. In the upper left corner of VS Code, click the “Explorer” icon. VS Code will open the Explorer panel on the left side of its window.
    2. Right click anywhere in the Explorer panel, and VS Code will open a popup menu.
    3. In the popup menu, click “New Folder...” and name the new folder “.vscode” (without the quote marks).
    4. In the Explorer panel, right click on the “.vscode” folder, and VS Code will open a popup menu.
    5. In the popup menu, click “New File...” and name the new file “launch.json” (without the quote marks).
    6. Copy the following JSON code and paste it into your new launch.json file.
    7. Save your launch.json file.
  7. Execute the sample Python program.
    1. Execute the sample Python file that you downloaded by clicking the run icon in the upper right corner of VS Code. The run icon is a green triangle (Run icon in VS Code or Run icon in VS Code).
    2. The sample file should run without errors, and its output should be similar to this:
      Hello! What is your name? Amelia
      3
      2
      1
      Welcome to CSE 111, Amelia!

Summary

To prepare your computer so that you can develop Python programs in CSE 111, you should have done the following:

  1. Install the Python programming language version 3.14
  2. Create a folder named cse111 where you will save your Python programs
  3. Install a text editor named Visual Studio Code
  4. Install the Microsoft Python extension inside VS Code
  5. In VS Code, enable the “Execute in File Dir” option
  6. In VS Code, create a launch.json file
  7. Download and run a sample Python program to ensure your computer is ready