Python Pragmatic Shell Interface