Terry J. Reedy <tjreedy at udel.edu> added the comment: 宋嘉腾 put 'import io' at the top of idlelib/iomenu.py ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue41319> _______________________________________