首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

Python curses Redirection is not supported,该怎么解决

2013-10-11 
Python curses Redirection is not supported我想在64位win7下的eclipse里用PyDev来写个程序,这个程序需要

Python curses Redirection is not supported
我想在64位win7下的eclipse里用PyDev来写个程序,这个程序需要用到curses。
我用的python是Python 3.2 (64bit), curses是相对应的curses-2.2.win-amd64-py3.2。安装好之后,用一下代码做测试:


import curses  
myscreen = curses.initscr()
myscreen.border(0)
myscreen.addstr(12, 25, "Python curses in action!")    
myscreen.refresh()
myscreen.getch()     
curses.endwin()

没有显示有语法错误,但是在运行的时候显示Redirection is not supported而没有给出正常的输出结果,不知道有没有高手可以指点一下。 Python Eclipse Windows?7 curses
[解决办法]
不支持转向,那就试试在控制台下执行...

热点排行