Welcome! This repository contains the standardized Python development environment for our class assignments. It is configured to run seamlessly both in GitHub Codespaces (cloud browser setup) and locally on Windows / Mac / Linux via VS Code without requiring Docker. This does not require Anaconda to be configured. You should select the ".venv" python environment when running.
This assignment's tasks are located in processing.ipynb.
Follow the instructions below for your chosen setup option to configure your environment, then open processing.ipynb to begin your work.
Choose one of the two methods below to open and run your workspace.
Lab Computers:
- Clone & Open: Clone this repository to your machine and open the project folder in VS Code.
- Build Environment (1-Click Setup):
- Press
Ctrl + Shift + Bon Windows (orCmd + Shift + Bon Mac). - Alternatively, go to the top menu: Terminal > Run Build Task... > select 1-Click Setup Python Environment.
- This task creates a local virtual environment (
.venv), upgradespip, and installs all required base dependencies. It is safe to run multiple times.
- Press
- Open Assignment: Open
processing.ipynb. - Select Kernel: In the top-right corner of the notebook, ensure the kernel is set to
Python (.venv)(or select Select Kernel > Python Environments > .venv).
- Click the green Code button at the top right of this repository.
- Select the Codespaces tab and click Create codespace on main.
- Wait for the environment to build (1–2 minutes).
- You do not need to run the build task, so skip this step
- Open
processing.ipynb. The Python kernel will connect automatically—press Run All to test!
Before starting your assignment, you can verify that your environment, Python version, and standard libraries are correctly connected.
- Open
test_environment.ipynb. - Run the test cell. You should select the ".venv" python environment when running!
- You should see output similar to this:
Python Version: 3.13.x
Executable Path: ...\.venv\Scripts\python.exe
Pathlib Working Directory: ...\idp-assign-1-processing
ipykernel Version: 7.x.x
Environment setup verified successfully!