-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate.py
31 lines (29 loc) · 991 Bytes
/
generate.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Run this if you want to obtain something similar to the list: find .
# -not -path '*/.*'
files = ["evolve.py",
"main.py",
"players/base.py",
"players/evolutionary.py",
"players/minmax.py",
# "players/mmmontecarlo.py",
"players/montecarlo.py",
"players/montecarlo_utils/montecarlo.py",
"players/montecarlo_utils/node.py",
"players/montecarlo_utils/__init__.py",
"players/naive.py",
"players/random.py",
"players/risky.py",
"players/rl.py",
"players/__init__.py",
"quarto/main.py",
"quarto/quarto/objects.py",
"quarto/quarto/__init__.py",
"quinto/quinto.py",
"train_rl.py",
"utils/logger.py",
"utils/parser.py",
"utils/__init__.py"]
for f in files:
escaped = f.replace("_", "\\_")
print(
f"\\paragraph{{{escaped}}}\n\\inputminted{{python}}{{src/{f}}}\n\\label{{src:{f}}}\n")