I'm making any program in Python 3.7.
I want to skip input function after a specific time.
My code has the structure like the following rough code.
def functionA():
    ...(skip)...
def functionB():
    ...(skip)...
#TIMEOUT = 0.5
while True:
    TXT = None
    TXT = input("Enter: ")
    if TXT == None:
        functionA()
    elif 'NAME' in TXT:
        functionB()
    elif TXT == 'EXIT':
        break
    else:
        pass
I wanna skip the line TXT = input("Enter: ") after TIMEOUT time, 0.5 sec. How can I make the code of this flow the way I want?
 
     
     
    