+ 1

Colorama Cursor + Input

I’m using windows 7 and Python 3.7 I have a problem using colorama, specifically with Cursor when I use an Input. spam = float(Input(Cursor.POS(20,5) + “Insert float”)); It’s printing in color but not in the position I asked for. Actually I’m getting this: <-[5;20HInsert float Any help would be appreciated. https://code.sololearn.com/cifm57tMI4zG/?ref=app

25th Oct 2018, 3:41 AM
Paco Chamorro-Fierro
Paco Chamorro-Fierro - avatar
1 Antwort
0
I made it work using: print(Cursor.(x,y) + “enter a value”, end = “”); variable = float(input()) if somone has a better idea please let me know.
28th Oct 2018, 11:53 AM
Paco Chamorro-Fierro
Paco Chamorro-Fierro - avatar