Code for python web development class