Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import sl
from getpass import getpass
schoolloop_subdomain = input("Subdomain: ")
schoolloop_username = input("Username: ")
schoolloop_password = getpass()
s2 = login(schoolloop_subdomain, schoolloop_username, schoolloop_password)
grades = sl.get_grades()
for g in grades:
if str(g[3]) == "No grades published by teacher":
g_letter = ""
else:
g_letter = " (" + str(g[4]) + ")"
print(str(g[0]) + "°: " + str(g[1]) + " (" + str(g[2]) + "): " + str(g[3]) + g_letter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.