The commandline argument check in roster.py:
A bit strange, I find whatever I am doing I can't get this error message to print, the function will shut down alright, but no error message, I have tried all ways of putting this into my code that I know of, rest of code works great after intention otherwise, however if I get my errormessage printing, it will just print that, even with correct usage. Stupidly I am actually stumped on this part. I don't understand why it doesn't work, can anyone explain? Hopefully from the "no question is too stupid" mentality, haha.
if len(argv) != 2: if argv != "Gryffindor" or argv != "Ravenclaw" or argv != "Hufflepuff" or argv != "Slytherin": print("Usage: python roster.py house") exit(0)