Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
Engine· method

Engine.save

persists the whole project to a .lsd file

Python
save(path=None) -> None

Parameters#

name type default description
path str | None None destination .lsd path; required for an ephemeral engine, else defaults to the file it was opened from

Example#

Python
engine = Engine("survey.lsd")
engine.save()               # writes back to survey.lsd

Engine().save("out.lsd")    # an ephemeral engine needs an explicit path

Notes#

Records the packages that own the step/entity types used, so opening the project reloads exactly that set. The write is atomic — a crash or full disk mid-save never truncates your only copy. Raises ValueError if an ephemeral engine is saved without a path.

See also#

API: load · run_all · Engine

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown