Interactive python class programs