erste Anpassungen für den SQL-Export, Z1,Z2...Z6

This commit is contained in:
hubobel 2025-07-14 18:09:57 +02:00
parent 278e215abd
commit 438a3cce43

View file

@ -5,7 +5,7 @@ from datetime import datetime
wochentag = datetime.today().weekday()
wochentag = 2
if wochentag == 2:
a = "582"
elif wochentag == 5:
@ -69,7 +69,7 @@ if match_spiel77:
# Super 6 suchen (genau 6 Ziffern)
match_super6 = re.search(r"Super\s*6[^0-9]*((?:\d\s*){6})", text)
if match_super6:
#super6 = match_super6.group(1)
#super61 = match_super6.group(1)
super6 = [int(n) for n in match_super6.group(1).split()]
# Ausgabe
@ -79,4 +79,18 @@ print("Superzahl:", superzahl)
print("Spiel 77:", spiel77)
print("Super 6 :", super6)
notify_telegram(str(datum_woche)+ str(lottozahlen))
lottozahlen.sort()
ab = 'Z'
cd = 1
for i in lottozahlen:
print(i)
ef=str((ab+str(cd)))
Lottozahlen[ef] = i
cd = cd +1
Lottozahlen['Datum'] = datum_woche
Lottozahlen['Superzahl'] = superzahl
Lottozahlen['Spiel77'] = spiel77
Lottozahlen['Super6'] = super6
print(Lottozahlen)
notify_telegram(str(Lottozahlen))