Last active
March 23, 2021 14:00
-
-
Save gmolveau/908229a6c474f7f473046140be54a030 to your computer and use it in GitHub Desktop.
python3 move cursor to beginning of line terminal and print
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/a/7715690 | |
# try it on : https://repl.it/languages/python3 | |
# print('ok', end='\r ', flush=True) | |
for i in range(100): | |
print(f'\t string {i}', end='\r ', flush=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment