简体   繁体   English

如何在python中编辑控制台输出

[英]how to edit console output in python

I'm looking for a way to edit the existing content of the console output. 我正在寻找一种方法来编辑控制台输出的现有内容。 I came across this question which is basically what i want, but i was hoping for something a little bit more sophisticated. 我遇到了这个问题 ,基本上是我想要的,但是我希望有一些更复杂的东西。 Does anyone know of a module or anything else that enables editing the console buffer? 是否有人知道可以编辑控制台缓冲区的模块或其他任何内容?

Thank you. 谢谢。

查看这个名为urwid的库,并查看使用该库构建的示例应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM