Error no module named curses

后端 未结 5 1944
感动是毒
感动是毒 2021-01-04 07:53

When I try to run the following code...

from telnetsrvlib import *

if __name__ == \'__main__\':
\"Testing - Accept a single connection\"
class TNS(SocketSer         


        
5条回答
  •  北海茫月
    2021-01-04 08:06

    Install the UniCurses module from here: https://pypi.python.org/pypi/UniCurses

    You may need to alter some of your code in order to use it, as it provides the functionality of NCurses, not the vanilla curses library.

    Unfortunately, no direct Python for Windows port of curses exists.

提交回复
热议问题