Dollar Syntax Tutorial

Documentation status: Placeholder

This tutorial will teach the optional .spy notation after the reader knows the Session model.

Planned coverage:

  • running a .spy file;
  • bare, string, raw-string, expression, and f-string command forms;
  • the v3.1 single-dollar behavior for direct and shell commands;
  • results, functions, imports, persistent shells, and threads; and
  • when to return to ordinary Python and the Module API.

Until it is complete, use the Dollar Syntax Reference.

Last Updated: 2026-09-17 12:13:56