Making A Interactive Terminal In Python