R. David Murray added the comment: My guess would be that stdin is closed. I doubt that it is a python problem. ---------- nosy: +r.david.murray _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17291> _______________________________________