471,325 Members | 1,824 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

Python 2.5 and stdin

hg
Hi,

I have upgraded to 2.5 and one of my program no longre functions:

In a thread run function, I attempts to get a "raw_input('')" and get the
error
***********************************
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/usr/local/games/RealTimeBattle/Robots/pyrobot.py", line 89, in run
l_res = raw_input('')
IOError: [Errno 11] Resource temporarily unavailable
***********************************

The full source code is here: http://snakecard.com/rtb/
Any clue ?

Thanks,

hg


Jun 3 '07 #1
0 925

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by Alex Martelli | last post: by
20 posts views Thread by Lucas Raab | last post: by
63 posts views Thread by Davor | last post: by
2 posts views Thread by Xah Lee | last post: by
reply views Thread by todddeluca | last post: by
reply views Thread by Gabriel Genellina | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.