Add pico 2026 update

Vibecoded:
- User binary input of the user id
- confirms with send button
- User input of the rating
- Send button sends a get request to the server
This commit is contained in:
2026-03-27 22:42:43 +01:00
parent 19f2dbd3a0
commit 4da779a125
6 changed files with 250 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import os
def delete_folder(path):
for file in os.listdir(path):
full_path = path + "/" + file
try:
os.remove(full_path) # Datei löschen
except OSError:
delete_folder(full_path) # Falls es ein Ordner ist, rekursiv löschen
os.rmdir(path) # Ordner selbst löschen
delete_folder("/mfrc522") # Beispiel: Löscht den gesamten MFRC522-Ordner