Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如标题所示,我使用的是 windows cmd。我知道有:
print("\n" * rows)
但它将光标留在终端的底部。在不使用模块的情况下不将光标留在底部时,有什么方法可以清除屏幕?