I want to make a program with a gui where you type something down into a text box and it does that task. A non gui example that I have is this:
input = input("");
def chat():
if "hello" in input:
print "hi"
while True:
chat();
Obviously the code is longer, but the concept is the same. I also used espeak instead of print so a label won't be needed
Thanks!
Here's a simple example that does basically what you want: