Py Editor MAC USER MANUALpythoneditor.io ↗ · Version 27.0.3 (33)

Run a Mac desktop app: Focus Studio

Mac Desktop Studio is a bundled Python project that builds a real Mac interface with PySide6. Running it opens Focus Studio, a separate window with a task list and a 25-minute timer.

Focus Studio is a window created by the Python program, not a Py Editor panel. The project needs Py Editor Helper and a project environment; set those up with Set up Helper, a project environment, packages and services.

1. Start the example

  1. Open Mac Desktop Studio from the project launcher.
  2. Select main.py.
  3. If the status bar says Project .venv not created, click it and wait for the environment to be created.
  4. Open the Helper setup sheet from the status bar. If it lists PySide6 as missing, choose Install Dependencies and wait for Ready to Run, then choose Done.
  5. Click the run button in the toolbar.
  6. Find the new window titled Focus Studio.

It has Today on the left, with a task field, Add, the task list and Remove selected; and Focus on the right, with the countdown, its status, Start and Reset.

If Run reports that project dependencies are missing, the window never opened: finish the setup above instead of running the file again.

2. Add a task

  1. Click the task field.
  2. Type Plan the vision dataset.
  3. Click Add, or press Return.

The field empties and the task appears at the bottom of Today.

3. Complete it and change it back

  1. Double-click the task. Its circle becomes a check mark and the title is crossed out.
  2. Double-click it again to return it to incomplete.

Completing a task does not start the timer.

4. Run a focus session

  1. Click Start and watch the countdown fall below 25:00.
  2. Click Pause. The value stops and the status reads Paused.
  3. Click Resume to continue.
  4. Click Reset to return to 25:00 when you want to discard the remaining time.

Focus Studio with a task in Today and the timer pausedOpen the screenshot to view it at full size.

5. Tidy up

  1. Click the demonstration task once.
  2. Click Remove selected.

Removal happens immediately, with no confirmation and no undo.

What is kept

The program stores the task titles and their completion state in tasks.json beside the example, so the list survives quitting and running it again. Keep that file when you copy or back up the project. The timer's remaining value is not saved.

Next steps