()
| 82 | import select |
| 83 | |
| 84 | def stdin_ready(): |
| 85 | infds, outfds, erfds = select.select([sys.stdin],[],[],0) |
| 86 | if infds: |
| 87 | return True |
| 88 | else: |
| 89 | return False |
| 90 | |
| 91 | elif sys.platform == 'win32': |
| 92 | import msvcrt |
no outgoing calls
no test coverage detected