I just realized, that my variables declared in
if __name__ == "__main__": thisisglobal = "global variable"
are actually global. Why is this?