[Tutor] Best Python 3 module to create simple text editor in Windows command prompt?

boB Stepp robertvstepp at gmail.com
Thu Feb 2 23:42:24 EST 2017


On Thu, Feb 2, 2017 at 8:35 PM, eryk sun <eryksun at gmail.com> wrote:
> On Fri, Feb 3, 2017 at 2:22 AM, boB Stepp <robertvstepp at gmail.com> wrote:
>> What would be the best Python 3 module to best assist me in controlling
>> the command prompt window display, font colors, positioning the cursor
>> dynamically, etc.?
>
> Try using curses [1]. Christoph Gohlke has a port for Windows Python
> based on the PDCurses library [2].
>
> [1]: https://docs.python.org/3/howto/curses.html
> [2]: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

Thanks, Eryk.  I did not realize that curses had been ported to
Windows.  I thought it was for *nix only.

-- 
boB


More information about the Tutor mailing list