How to delete a specific print line in the Python cmd

0

Good afternoon,

Lately there has been an error in using the progressbar lib to create a bar in windows 10.

When I go full screen or decrease the size it starts to create bars:

Error

I solved the error by cleaning the cmd with the lib but I needed some previous information to be shown.

With this experiment I realized that the error has to be with increasing and decreasing the number of lines and hence it does not delete the line with the \ r command.

What I would like to do was to delete the lines that were below a specific line in case it would appear 'Loading ...' and below the bar and would like to delete all the lines below 'Loading ...'. If there is no way to do this I would like an indication of how to make a better bar.

    
asked by anonymous 08.08.2018 / 16:05

0 answers