3
A
回答
3
一個潛在選項:
import select, sys
r, w, x = select.select([sys.stdin], [], [], 3)
這將阻止對於〜3秒 - 存在的任何數據將在後r
。
相關問題
- 1. python raw_input不考慮輸入
- 2. Python,輸入和raw_input
- 3. Python - 循環等待輸入
- 4. python腳本不等待輸入文件
- 5. 等待輸入
- 6. scanf不等待輸入
- 7. 與fgets()不等待輸入
- 8. 不等待輸入java
- 9. Java:InputStream.read不等待輸入?
- 10. AlertDialog不會等待輸入
- 11. std :: cin.getline不等待輸入
- 12. 閱讀()不等待輸入
- 13. 使readline等待輸入R
- 14. 如何使程序不等待輸入
- 15. keylistener等待輸入
- 16. c + +等待輸入
- 17. java.util.Scanner:等待輸入
- 18. 如何讓Python等待輸入?
- 19. 雖然循環等待輸入python
- 20. python等待輸入並上傳文件
- 21. python中的raw_input沒有按下輸入
- 22. printf的等待輸入
- 23. 如何使用輸入或raw_input創建輸入到OLS程序
- 24. 不等待BufferedReader輸入的Java方法?
- 25. Python:循環不等待用戶的輸入
- 26. Python輸入字符串錯誤(不想使用raw_input)
- 27. 如何使程序在Python GUI中使用輸入框等待輸入?
- 28. fgets不等待用戶輸入
- 29. Java掃描器不等待輸入
- 30. 讀命令不等待輸入