1

I have been trying to make a progress bar above the input prompt, like this:

Array A 37/56 |  66,07% [=============-------]
Enter A[38]: _

However to do that I need to be able to move the cursor around to rewrite the above lines.

Searching around, I only found ways to do it in the UNIX/Linux terminal, but I am a Windows user. I run Python on Windows PowerShell and the Command Prompt, so those ways didn't work.

Is there any way to achieve this or is this just isn't possible in Windows?

martineau
  • 119,623
  • 25
  • 170
  • 301
Lê Duy Quang
  • 45
  • 1
  • 6
  • Look for a curses emulator that runs on Windows. I think there are several available. – martineau Jan 05 '19 at 14:10
  • 1
    For example, please refer this article. [What is needed for curses in Python 3.4 on Windows7?](https://stackoverflow.com/q/32417379/9014308) – kunif Jan 05 '19 at 15:32

0 Answers0