Question : Input after all prompts in python

Steven D'Aprano steve+comp.lang.python at pearwood.info
Mon Jun 11 10:55:44 EDT 2018


On Mon, 11 Jun 2018 07:19:15 -0700, mohan4h wrote:

> print(u"\u001b[{}A".format(n), flush=True, end="")
>                                                      ^
> SyntaxError :invalid syntax

My crystal ball tell me you are using Python 2. Is that right?



-- 
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson




More information about the Python-list mailing list