怎么保证提示标准输入的语句 不被别的 log 冲掉

2015-04-03 15:21:42 +08:00
 scola
在windows上遇到这么个问题, 以下为例
https://gist.github.com/scola/02afac981a7341a8df6e
怎么保证 "Please input your name: " 永久在所有 log 底部.
问题不那么重要, 只是不知道怎么搞
1999 次点击
所在节点    Python
4 条回复
AnyOfYou
2015-04-03 15:43:55 +08:00
Python 可以用 curses,https://docs.python.org/2/howto/curses.html
不清楚是不是你要的。
scola
2015-04-03 16:08:00 +08:00
@AnyOfYou 是你啊, 我去瞅瞅
gaocegege
2015-04-06 21:15:36 +08:00
0.0是怎么用github发代码的啊求指导Orz
scola
2015-04-07 08:21:29 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/181359

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX