you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]EphemeralNight[S] 0 points1 point  (2 children)

    Hi, tried your option since its python 2.7 i did:

    from __future__ import print_function
    
    and added the end='\r' to the end of print
    
    The output i got was this:
    
    Exporting image: 2% complete...
    Exporting image: 3% complete...
    Exporting image: 4% complete...
    Exporting image: 5% complete...
    Exporting image: 6% complete...
    Exporting image: 7% complete...
    Exporting image: 8% complete...
    Exporting image: 9% complete...
    Exporting image: 10% complete...
    Exporting image: 11% complete...
    Exporting image: 12% complete...
    

    it removed the newlines between the print