I am trying to make a terminal in python, in which I can enter commands and have the program execute certain actions. I want to assign a variable to the string I get from an inp