Python v2 logo — two snakes, red and blue python™v2
▶ Subscribe

Downloads & Installation

Get the Python v2 language on your machine. It is free, open source, and needs nothing but Python 3.10+. Version 1.1 “Sudbury” includes our own desktop Launcher, offline website builder, production app APIs, a Windows EXE builder, and dependency-free PyHope game engine— no pygame or Electron required.

01 Python v2 + PyHope App 1.1 “Sudbury”

A complete lightweight creative workspace. Sudbury now includes Home, Code Studio, safe managed Files, New Project, packaged Assets, Games/GPU, Connected Editors, Settings, and Docs tabs. It uses the Python standard library—not Electron, pygame, or a cloud account.

PYTHON V2 + PYHOPE1.1 SUDBURY
⌂ Home>_ Code Studio▤ Files+ New Project◆ Assets↗ Editors⚙ Settings
CREATIVE WORKSPACE

Code, files, assets, editors, websites, and games.

FILE SERVICECC0 ASSETSCONNECTED EDITORS

FIRST APP RELEASE

One installer. Your whole workspace.

  • Edit, save, autosave, and run .pyv2 with Ctrl+Enter
  • Manage workspace files with safe paths and atomic saves
  • Export eight original CC0 PyHope sprites offline
  • Detect and open VS Code, VSCodium, Zed, Sublime, or PyCharm
  • Create and preview complete Python v2 website projects
  • Create validated Windows apps with JSON, safe data, dialogs, and EXE workflows
  • Configure workspace, editor, font, and autosave settings
  • Open the 10-game arcade and 9M GPU tools
  • No pygame, Electron, cloud account, or paid dependency

Windows gets a Desktop shortcut. macOS gets Python v2 Sudbury.app in ~/Applications. Linux gets an application-menu entry.

02 One-click Python v2 + PyHope Installers

Install the language, Sudbury Launcher, and PyHope game engine together. The scripts download the latest stable release, install the pyv2, pyv2-launcher, and pyhope commands, create the desktop app/shortcut, and run a self-check. Readable source—no mystery executable.

Windows

Download, double-click, and follow the terminal. Requires Python 3.10+.

Download install.bat

Manual / portable

Download the source ZIP. No install is required to run from its folder.

Download ZIP
What gets installed? pyv2 is the language; pyv2-launcher, pyhope-studio, or pyhope --studio opens the desktop workspace; and pyhope is our own dependency-free game engine with vectors, sprites, tile maps, fixed-step scenes, DDA ray casting, terminal preview, and web Canvas/WebGL renderers. It does not install pygame.

Read the PyHope engine guide · Play the games · Get free CC0 sprites

03 Build Real Windows EXE Applications

Installed with the normal Python v2 installer. Sudbury Build Tools create console or windowed applications with command-line arguments, strict JSON, sandboxed persistent files, atomic saves, bundled read-only assets, and native message/input dialogs.

1. Create

pyv2 new windows-app "My App"
# add --windowed for a dialog app

2. Validate

pyv2 check My-App
pyv2 doctor

3. Build

pyv2 build My-App
# Windows:
pyv2 build My-App --native

The project includes a readable build-windows.bat, PowerShell script, PyInstaller recipe, SHA-256 manifest, VS Code tasks, and Windows GitHub Actions workflow. Native .exe creation installs PyInstaller into a build environment on Windows; normal Python v2 apps and the language runtime remain dependency-free. Other systems produce the complete kit rather than a mislabeled binary. Full app and EXE guide →

04 Get the Language Manually

Pick your favorite flavor:

Git clone (recommended)

git clone https://github.com/gefrus112/pythonv2
cd pythonv2

Updating later is one command: git pull.

Open the GitHub repo

Download ZIP

# then unzip it and open a terminal inside
cd pythonv2-main

Everything is plain text — the language, the website, the docs.

Download pythonv2-main.zip

What's in the box

ComponentWhereWhat it is
Sudbury Workspacepyv2/launcher.pyHome, editor, file service, projects, assets, games, connected editors, settings, and docs
Browser Playgroundplayground.htmlPython v2 + Classic compatibility, commands, errors, and website workshop
Interpreter + CLIpyv2/The language runtime: python3 -m pyv2
PyHope enginepyhope/Dependency-free sprites, scenes, tile maps and ray casting
Browser runtimepyv2.jsThe same language in JavaScript (this website's playground)
Examplesexamples/hello, fib, fizzbuzz, terminal_raycast
VS Code extensioneditors/vscode/Syntax highlighting + snippets
Dev container.devcontainer/Ready environment for VS Code / Codespaces
Teststests/112 tests: language + app/EXE builder + parity + PyHope + workspace + Playground + arcade

05 Install on Your Machine

One requirement: Python 3.10 or newer (python.org/downloads). Python v2 itself has zero dependencies.

macOS & Linux

# 1. check your Python (macOS ships python3; Linux: apt/dnf install python3)
python3 --version        # need 3.10+

# 2. get the language
git clone https://github.com/gefrus112/pythonv2
cd pythonv2

# 3. verify the install
python3 -m pyv2 --version
# Python v2 1.1.0

# 4. run your first program
python3 -m pyv2 examples/hello.pyv2
# Hello, World!
# 2 + 2 = 4

Windows

# Option A — plain PowerShell / cmd
py --version             # install from python.org if missing
git clone https://github.com/gefrus112/pythonv2
cd pythonv2
py -m pyv2 examples/hello.pyv2

# Option B — WSL (recommended): install Ubuntu from the
# Microsoft Store, then follow the macOS & Linux steps.

Make it your own

Add a shell alias so you can just type pyv2:

# macOS / Linux — add to ~/.zshrc or ~/.bashrc
alias pyv2='python3 -m pyv2'

# now:
pyv2 examples/fib.pyv2
pyv2                      # REPL!

06 Install in Your Editor

Full step-by-step guides live in the documentation. The quick tour:

EditorSetup
VS Code Open the repo folder → press Ctrl+Shift+B to run the current file. Copy editors/vscode into ~/.vscode/extensions for highlighting. Full guide →
Dev Containers / Codespaces Dev Containers: Reopen in Container — or create a codespace on GitHub. Everything preinstalled. Full guide →
Sublime / Vim / JetBrains / Notepad++ Any editor that can run a shell command works — recipe included for each. Full guide →
Just a terminal python3 -m pyv2 file.pyv2 — that's the whole install.

07 Learn the Language

Installed? Nice. Next stop:

FAQ

QuestionAnswer
Is there a pip install? Yes—from the cloned folder: python3 -m pip install --user .. The one-click scripts do this and create the app shortcut for you.
Can games use literally zero RAM? No real app can. PyHope's 9M mode keeps ray work and the large framebuffer on the GPU, avoiding a 9-million-item Python list while still using normal system and GPU memory.
Does it replace my Python? Nope. Python v2 lives in its own folder and runs on top of Python 3. Nothing to uninstall, nothing breaks.
Which platforms? Anything with Python 3.10+: macOS, Linux, Windows, WSL, Raspberry Pi, dev containers, Codespaces.
How do I update? git pull — then run the tests if you're curious: python3 -m unittest discover -s tests -t .