Fork me on GitHub
摘要: 结论: 在print函数前加上sys.stdout.flush()。 有的说加在print之后,都可以试试。 from time import sleep import sys if __name__=="__main__": sys.stdout.flush() print("Start") fo 阅读全文
posted @ 2024-03-11 16:04 猫叔Vincent 阅读(25) 评论(0) 推荐(0) 编辑