Mehr Änderungen auf Betroffene
This commit is contained in:
@@ -27,7 +27,7 @@ def input_code():
|
|||||||
|
|
||||||
if ';' in scancode:
|
if ';' in scancode:
|
||||||
kompletter_qrcode = scancode
|
kompletter_qrcode = scancode
|
||||||
nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, _, _, _, _, _, _, _ = kompletter_qrcode.split(";")
|
nachname, vorname, geburtsdatum, geschlecht, plz, ort, nationalitaet, strasse, _, _, _, _, _, _ = kompletter_qrcode.split(";")
|
||||||
kompletter_name = nachname + ", " + vorname
|
kompletter_name = nachname + ", " + vorname
|
||||||
|
|
||||||
print("AUSGABE DER DATEN")
|
print("AUSGABE DER DATEN")
|
||||||
@@ -77,7 +77,7 @@ def main():
|
|||||||
input_code()
|
input_code()
|
||||||
elif (menu_auswahl == 2):
|
elif (menu_auswahl == 2):
|
||||||
print("SORRY - 2")
|
print("SORRY - 2")
|
||||||
elif (menu_auswahl == 3):
|
elif (menu_auswahl == 3):
|
||||||
print("SORRY - 3")
|
print("SORRY - 3")
|
||||||
elif (menu_auswahl == 4):
|
elif (menu_auswahl == 4):
|
||||||
make_qrcode()
|
make_qrcode()
|
||||||
|
|||||||
11
Tabelle.py
11
Tabelle.py
@@ -1,3 +1,8 @@
|
|||||||
|
# Betroffene BY DANIEL SCHLAPA
|
||||||
|
|
||||||
|
# Bsp. QRCODE: Mustermann;Max;01.01.2024;m;40000;Musterstadt;deutsch;Musterstraße 1;;;;;;
|
||||||
|
# qrcode = "Mustermann;Max;01.01.2024;m;40000;Musterstadt;deutsch;Musterstraße 1;;;;;;"
|
||||||
|
|
||||||
import openpyxl
|
import openpyxl
|
||||||
from openpyxl.styles import Font
|
from openpyxl.styles import Font
|
||||||
|
|
||||||
@@ -10,7 +15,7 @@ def make_tabellen_ueberschrift():
|
|||||||
tabelle1['A1'] = 'Name'
|
tabelle1['A1'] = 'Name'
|
||||||
tabelle1['B1'] = 'Vorname'
|
tabelle1['B1'] = 'Vorname'
|
||||||
tabelle1['C1'] = 'Geburtsdatum'
|
tabelle1['C1'] = 'Geburtsdatum'
|
||||||
tabelle1['D1'] = 'Hilfsorganisation'
|
tabelle1['D1'] = 'Geschlecht'
|
||||||
tabelle1['E1'] = 'PLZ'
|
tabelle1['E1'] = 'PLZ'
|
||||||
tabelle1['F1'] = 'Ort'
|
tabelle1['F1'] = 'Ort'
|
||||||
tabelle1['G1'] = 'Nationalität'
|
tabelle1['G1'] = 'Nationalität'
|
||||||
@@ -19,15 +24,13 @@ def make_tabellen_ueberschrift():
|
|||||||
tabelle1['J1'] = 'Kommt Zeit'
|
tabelle1['J1'] = 'Kommt Zeit'
|
||||||
tabelle1['K1'] = 'Geht Datum'
|
tabelle1['K1'] = 'Geht Datum'
|
||||||
tabelle1['L1'] = 'Geht Zeit'
|
tabelle1['L1'] = 'Geht Zeit'
|
||||||
tabelle1['M1'] = 'Position'
|
|
||||||
tabelle1['N1'] = 'Geschlecht'
|
|
||||||
|
|
||||||
schrift_fett = Font(bold=True)
|
schrift_fett = Font(bold=True)
|
||||||
for col in range(1, 15):
|
for col in range(1, 15):
|
||||||
cell = tabelle1.cell(row=1, column=col)
|
cell = tabelle1.cell(row=1, column=col)
|
||||||
cell.font = schrift_fett
|
cell.font = schrift_fett
|
||||||
|
|
||||||
workbook.save('Registrierliste.xlsx')
|
workbook.save('Betroffeneliste.xlsx')
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user