Initial commit: What To Cook (WTC) v4.4 - Digitales Kochbuch, Wochenmenueplan & Buchdruck

This commit is contained in:
2026-10-14 20:24:37 +02:00
commit c01d2d7639
171 changed files with 14073 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import os
DIR = "/home/maxi/Projekt/wtc.waiswuaschd.de/data/extracted_texts"
files = [
"schnelle Ramen.txt",
"ramen_rezepte.txt",
"Brezen Cracker.txt",
"Currytaschen.txt",
"Kidneybohnen.txt",
"Mango Limetten Triffle.txt",
"Orangentofu mit Reis.txt",
"Orzo Halloumi Salat.txt",
"Schokomousse.txt",
"One Pot Mie Nudeln.txt",
"Bao Buns mit Champignons.txt",
"Lachs in Thai-Curry-Soße mit Zucchini.txt",
"Blätterteigpäckchen mit Spargel.txt",
"Spaghetti in Zitronenbutter und Lachs mit Macadamiakruste.txt"
]
for fname in files:
fpath = os.path.join(DIR, fname)
if os.path.exists(fpath):
print(f"==================================================")
print(f"FILE: {fname}")
print(f"==================================================")
with open(fpath, "r", encoding="utf-8", errors="replace") as f:
print(f.read())
print("\n")
else:
print(f"FILE NOT FOUND: {fname}")