Now send a screenshot of the timetable when you find Italian language in the school time table and I have fixed the school time table so no one has trouble reading it

This commit is contained in:
Stefano Assenzo
2023-01-28 15:28:50 +00:00
committed by GitHub
parent 14b7a724ae
commit 76af099702
5 changed files with 358 additions and 281 deletions

4
app.py
View File

@@ -38,7 +38,9 @@ def orario():
response = Request(url, headers={"User-Agent": "Mozilla/5.0"})
webpage = urlopen(response).read()
dict = list(json.loads(webpage))
return render_template('orario/orario.html', data=dict)
number = str(range(0,7))
day = str(["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"])
return render_template('orario/orario.html', data=dict, number=number, day=day)
@app.route('/calendario')
def calendario():