Framework for Python

Notebooks & Scripts

framework_template_path()

The file your version of a template is saved in (it may not exist yet).

Usage

framework_template_path(name: str) -> Path

Arguments

Name Type Description
name required str

The template. One of "notebook", "script", or "presentation".

Value

The path in templates_dir() for that template.

Raises

  • FrameworkError: When name is not a known template.