Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
timeout for io.read()
#1
has anyone put together a way to read an open file with a timeout (returns something different or raises an exception if nothing to read by the end of the specified timeout period)? a search on google just comes up with lots of socket references or suggestions for select/poll (which does not work on all files).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
timeout for io.read() - by Skaperen - Jul-17-2019, 10:15 PM
RE: timeout for io.read() - by Gribouillis - Jul-18-2019, 06:09 AM
RE: timeout for io.read() - by Skaperen - Jul-19-2019, 01:20 AM
RE: timeout for io.read() - by Gribouillis - Jul-19-2019, 06:02 AM
RE: timeout for io.read() - by Skaperen - Jul-19-2019, 07:19 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020