By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

Python 2.5 and stdin

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.