How do I add limited input time to my code? (Python)

前端 未结 0 1219
一生所求
一生所求 2020-12-06 19:45

I\'ve been trying to find a good limited-input-time code for python scripts and I finally got a code to work:

from threading import Timer

timeout = 5
  t = T         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题