Eric Khoo Jiun Hooi added the comment: Terry, how do you run the script on idle? I try to run the script with idle -r "script name" and it was ok. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23551> _______________________________________