Commit 4f52af18 authored by Thomas Fischer's avatar Thomas Fischer

Update alternants_DE.py

parent ba9874c8
......@@ -23,6 +23,5 @@ os.system("sox ./"+wort+".mp3 tmp.mp3 silence 1 0 1% reverse silence 1 0 1% reve
os.system("mv ./tmp.mp3 ./"+wort+".mp3 >/dev/null 2>&1")
op = "./" + wort + ".mp3 " + plrs[c] if c == "play" else plrs[c] + " ./"+wort+".mp3 "
os.system(c + " " + op + " >/dev/null 2>&1") # Wiedergabe
# Audio-Datei loeschen?
if input("\nAudio-Datei löschen [j/n]?\n")=="j": os.remove("./"+wort+".mp3")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment