Re: Erfahrungsbericht: Vereins- und Dorffest
Verfasst: So 22. Jun 2025, 04:11
Noch eine kleine Ergänzung: Wir habe zwei Python-Scripts geschrieben die für OrderSprinter praktisch sind. Hash.py hab wird benutzt um schnell viele Kellner zu erstellen, inzwischen hinfällig durch das addkellner.html Modul. Rows and Tables.py wird regelmäßig genutzt um schnell eine große Anzahl an Räumen und Tischen zu erzeugen - meistens in einen der vielen online Python Editoren/Compiler.
LG
Frank
Code: Alles auswählen
### Hash.py
- Python code snippet generates MD5 hashes for a list of strings and then prints them out.
- Used to manually edit the backup file to add users with passwords.
### Rows and Tables.py
- The Python code creates entries for rows and tables and then outputs them.
- Used to manually edit the backup file to add tables and rows (rooms).
- Adds room and table "Bonkasse" and "Kassendrucker" if needed
### Backup viewer.html
- This script dynamically generates an HTML table based on the provided data
- Serves to display tables from the backup file
Frank