Class for an easy to use python interactive console