pupate

No description provided
git clone https://git.woozle.org/neale/pupate.git

pupate / examples / scripting / 2
Neale Pickett  ·  2024-08-19

mkpuzzle.py

 1#!/usr/bin/env python3
 2
 3import os
 4import sys
 5
 6src = os.path.dirname(sys.argv[0])
 7answer = "dynamic blustero"
 8
 9print("""---
10title: Python dynamic puzzle
11authors:
12  - Neale Pickett
13answers:
14  - {answer}
15---
16
17You can also make puzzles in Python!
18
19Source directory: {src}
20""".format(answer=answer, src=src))
21