A
A
anton13ms2020-06-11 12:54:35
Python
anton13ms, 2020-06-11 12:54:35

How to implement a function in Python, if the user does not enter data, continue the program execution?

Tell me how to implement such a function in Python that would allow the user to enter data into a variable, but if he does not do so after a certain time, continue the program with blackout in the default variable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-06-11
@anton13ms

https://stackoverflow.com/questions/1335507/keyboa...
or
https://pypi.org/project/inputimeout/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question