intermediate python class notes