Vokabeln erweitert. Neue MP3s.

This commit is contained in:
2026-02-21 08:44:52 +01:00
parent 23f6162e39
commit 4bb781d79d
28 changed files with 75 additions and 52 deletions

View File

@@ -16,8 +16,11 @@ REPLACEMENTS = [
name_new = ""
i = 1
debug = False
def compare(s1: str, s2: str) -> bool:
if debug:
print (s1, " ----> ", s2)
if s1.endswith(" "):
s1 = s1[:-1]
if s2.endswith(" "):
@@ -28,6 +31,11 @@ def compare(s1: str, s2: str) -> bool:
file = open(sys.argv[1])
print(len(sys.argv))
if len(sys.argv) == 3:
debug = False
else:
debug = sys.argv[3]
for line in file:
line = line[:-1]
for old, new in REPLACEMENTS: