V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
scola
V2EX  ›  Python

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

  •  
  •   scola ·
    scola · 2015-04-03 15:21:42 +08:00 · 1973 次点击
    这是一个创建于 3317 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在windows上遇到这么个问题, 以下为例

    怎么保证 "Please input your name: " 永久在所有 log 底部.
    问题不那么重要, 只是不知道怎么搞
    4 条回复    2015-04-07 08:21:29 +08:00
    AnyOfYou
        1
    AnyOfYou  
       2015-04-03 15:43:55 +08:00   ❤️ 1
    Python 可以用 curses,https://docs.python.org/2/howto/curses.html
    不清楚是不是你要的。
    scola
        2
    scola  
    OP
       2015-04-03 16:08:00 +08:00
    @AnyOfYou 是你啊, 我去瞅瞅
    gaocegege
        3
    gaocegege  
       2015-04-06 21:15:36 +08:00
    0.0是怎么用github发代码的啊求指导Orz
    scola
        4
    scola  
    OP
       2015-04-07 08:21:29 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2268 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:29 · PVG 16:29 · LAX 01:29 · JFK 04:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.