A simple python shell wrapper