Python

Start X Server

Starting in Fall 2026, Codio has been updated to not start the X display server until you try to connect to it the first time. So, before running your Python program, find the entry in the menu at the top of the Codio window to open the GUI viewer (sometimes it’ll be called “X Server” or “Virtual Desktop”) and click on it to open the GUI viewer, then leave it open while you run your code or tests.

YouTube Video

Outline

Here is a basic outline of the steps to follow to complete this example.

  1. Clone Starter Code from GitHub
git clone <url> python
  1. Run Project
cd python
python3 -m src
  1. Install Tox
pip3 install tox
  1. Check & Test Existing Project
python3 -m tox
  1. Confirm that project runs and has no style errors.

  2. Create New GUI Classes. Continuously commit to Git as changes are made!

  3. Update Main.py to use new GUI. This is just for testing purposes.

  4. Add GUI Panel for TheChoco. You’ll do this on your own.

  5. When complete, use Git to commit and push updated code.

git add .
git commit -m "Example Complete"
git push
  1. On GitHub, create a release tag and submit URL to Canvas for grading.

Completed GUIs

Main Window with Order Panel

Main Screen Main Screen

Main Window with Sundae Panel

Main Screen Main Screen