Python Editor for Mac

Bring a project.
Or open one of ours.

Twelve worked projects, a six-lesson course and an AI assistant ship with the app, and Python and the common libraries are already inside. When the work grows, search, tests, previews and Git are in the same window.

Free. All app features unlocked. No app subscription. Also on the Mac App Store.

Py Editor on Mac with project files, Python source and output
Your project, code and results in one Mac workspace.

The Mac tools shown here are included in the free Mac download. App Store features and purchases are listed separately.

Twelve projects, already installed

Start from code
that already runs.

Open a bundled project from the launcher, read it, change a part and run it again. Seven of the twelve use only the standard library, so they run as soon as the app is installed.

Start with a short project

Personal Greeting, Guess the Number, Python Quiz, Expense Tracker and Grade Analysis are small enough to read in a sitting, and each one ships with tests.

Write your first project →

Build a desktop interface

Mac Desktop Studio builds Focus Studio, a task list and 25-minute timer, with PySide6. It needs the free Helper and a project environment.

Run the desktop example →

Train an image classifier

AI Vision Lab generates its own images, trains a small PyTorch model and writes a report. It needs the free Helper and a package download of a few hundred megabytes.

Run AI Vision Lab →

Learn without leaving the app

The Learn panel holds a six-lesson Python course, eight example scripts, seven short guides and a 31-chapter Python book.

See the learning material →

Edit with the project in view

Find a function.
Follow an idea.

Search across your files and use source structure to jump to the part you need. Mark a place with a bookmark so you can return to it.

  • Make the same edit in several places

    Use multiple selections and column editing for repeated names, values or prefixes.

  • Keep longer files readable

    Fold functions, use completion and choose the syntax colours that work for you.

See the editing guide →
Two occurrences selected together in the Python editor
Select repeated text and change it together.

Made for working on a Mac

Arrange your tools.
Give your code space.

Keep project navigation on the left, execution results below and assistance on the right. Open the panels you need for the task, then move or hide them.

  • Work across windows

    Open projects in separate windows or detach a tool panel when you need more room.

  • Make it yours

    Choose a theme, pick a keymap you already know and set project preferences.

Explore the workspace controls →
Py Editor on Mac with project files, Python source and output
Your project, code and results in one Mac workspace.

Run, inspect and test

See what changed.
Understand why.

Run a script and read its output. Explore objects in Python Console or open Terminal for a shell command. When a test fails, inspect the assertion and return to the source.

  • Test the behaviour you expect

    Run your tests, read failures and rerun the failed cases after an edit.

  • Find where to look next

    Use coverage reports to find untested code and the profiler to inspect call counts and execution time.

Follow a testing example →

Git, the Terminal, the Python Console, debugging, packages and the profiler need the free Helper, a separate download. Examples also need project dependencies. Follow the setup guide.

Python test results with two passed tests and one deliberately failed expectation
A deliberate failing test shows which expectation needs attention.

When output is not enough

Inspect a program while it runs.

Use breakpoints and interactive debugging to look at values and follow execution.

Debugging needs the free Helper. The debugging guide covers breakpoints, stepping and inspecting values.

Keep the project organised

Make changes you can follow.

Review changes with Git

Inspect local differences, create commits and review history. Use a branch to keep a line of work separate.

Follow the Git workflow →

Compare earlier saves

Save copies and read a side-by-side diff of an earlier save. Copy what you need back into the file yourself.

Explore files and history →

Read documents beside their source

Preview Markdown, HTML, SVG and saved notebook results while you work on the project.

Explore document previews →

Keep your run settings together

Save the arguments, environment variables and working folder your script needs.

Configure a run →

An assistant beside your source

Talk through the next change.

Ask for an explanation of selected code or help with an error. Keep the reply visible while you decide what to change and test.

Use your own account with a supported AI service, a local Ollama model or Apple Intelligence on supported Macs.

Provider accounts and charges are separate. Local models need Ollama and a model installed.

Find your AI options →
Python source next to a local AI explanation
Read an explanation without leaving the project.

Learning material inside the app

Read it beside
the code you are writing.

Click Learn in the left rail. The lessons, scripts and guides open as editor tabs; the Python book opens in its own window.

Python Basics

Six lessons on output and variables, conditions, loops, functions, collections, and files and errors. Mark each one complete as you go.

See how lessons work →

Example Scripts

Eight single-file scripts, from Getting Started to NumPy, pandas, web requests and web scraping. Open one, change its inputs and run it.

Open an example script →

The Python book

31 chapters of general Python material, with search, in a separate window. Some later chapters use libraries that are not bundled.

Read the Python book →

Your next project starts here.

Free. All app features unlocked. No app subscription.

Download free for Mac