Put all the code into the Python because schools can't always use the command line