On Safari:

python init.py

python server.py

http://cs.nyu.edu/cs/faculty/shasha/papers/webpy.html
fill in findbet as the function
and argument team1='Knicks'
or team2='Cavaliers'

Note that when you look at the trace, you see all kinds of errors, but the first call is handled correctly.
Notice also the init.py presents some database manipulation.

