Ive been quite lost for the past months but here i am again .
i have a short code ive just written with an intention to have a conversation with my script.
i got the part where my script gets to speak but never the part to listen and respond accordingly.
Any advice on what to do from here(using Linux)
here is the script.
import subprocess
import time
import threading
def Talk():
threading.Timer(10,Talk).start()
text = '"hi there "'
subprocess.call('espeak '+text, shell=True )