Jul 30, 2017 by M. Zemmy Indrapatih
As of this time of writings, i search for some possibilities to develop GUI console application with Python 3 in Windows 10.
After searching on google, it led me to ncurse library. I can use standard Python 3 with npyscreen (http://www.npcole.com/npyscreen/ or https://bitbucket.org/npcole/npyscreen).
Using npyscreen would allow me to develop MultiPlatform and CrossPlatform GUI console application. And it has many widget to be used.
It works perfectly when tried on Linux and MacOS. But when running my sample script on Windows command prompt, it show an error:
ImportError: No module named '_curses'
because Python for Windows don't include curses library.
So to fix this issue, you need to install unofficial wheel package from https://bitbucket.org/npcole/npyscreen, download the version of curses that corresponds to your Windows and version of Python, example:
and then install it:
python -m pip install curses-2.2-cp34-none-win_amd64.whl
Now you would successfully run your Python console GUI app from Windows command prompt.