klassen in File speichern

Übersicht in Excel
This commit is contained in:
Patrick vom Hagen
2024-08-02 15:08:04 +02:00
parent 936a00c81f
commit 3e36a1513e
3 changed files with 22 additions and 42 deletions

12
main.py
View File

@@ -34,6 +34,7 @@ ox_quota_sus = 5120 # oxUserQuota LuL
#######################
# MAIN FUNCTION START #
# .venv\Scripts\activate
if __name__ == "__main__":
@@ -89,10 +90,17 @@ if __name__ == "__main__":
# ---------------------------------------------------- #
# Step 2 - auf name, vorname reduzieren und abgleichen #
# Klassen Übersicht leeren
with open('./output/klassen.txt', 'w') as file:
file.write('')
lul_exel_path = 'output/stats_lul.xlsx'
sus_exel_path = 'output/stats_sus.xlsx'
print("\n Lehrer:innen:")
lul_matched, new_lul = step2.compare_data(lul_new, lul_sys, len(lul_testuser_df))
lul_matched, new_lul = step2.compare_data(lul_new, lul_sys, len(lul_testuser_df), lul_exel_path)
print("\n Schüler:innen:")
sus_matched, new_sus = step2.compare_data(sus_new, sus_sys, len(sus_testuser_df))
sus_matched, new_sus = step2.compare_data(sus_new, sus_sys, len(sus_testuser_df), sus_exel_path)
# ----------------------------------------------------------------------------------------#
# Step 3 - Import Data generieren - klasse, uuids, weiteres in einer Liste zusammenführen #