Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Run code prior to each exercise run #1

@rly

Description

@rly

Allow pre-defined code to run prior to each exercise run. This would simplify code exercises by hiding things like import statements and other set up steps.

Something like adding precodeblock below:

<precodeblock id="01_02_01" />

<codeblock id="01_02_01">

Review the code in Section 1 if you are stuck!

</codeblock>

with a script like exercises/pre-exc_01_02_01.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions