How to overwrite previous text in center of screen

后端 未结 0 1237
野性不改
野性不改 2021-01-30 16:49

I want to print to the center of the terminal and am using:

import shutil

columns = shutil.get_terminal_size().columns
print("hello world".center(colum         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题