curses-like library for cross-platform console app in python

前端 未结 5 1812
挽巷
挽巷 2020-12-08 11:05

I\'m looking into developing a console application in python which should be able to run under Windows as well as Linux. For this, I\'d really like to use a high-level conso

5条回答
  •  既然无缘
    2020-12-08 11:25

    There is a wcurses. I've never tried it but it may meet your needs. It sounds like it doesn't have full curses compatibility, but may be close enough. Also it might not be using the DOS terminal, but opening a GUI window and drawing monospaced text inside.

    Other windows text mode options are:

    • The console module;
    • wconio -- based on Borland's C conio library.

    I believe both are windows only.

提交回复
热议问题