print('\r要写的字符串', end='')
来源:
Python爬虫教程-36-怎么实现在同一行重新输出(已解决)_肖朋伟-CSDN博客_python 同一行输出