#39;#39; doesn#39;t print backspace in PyCharm console( 不在 PyCharm 控制台中打印退格键)
问题描述
我正在尝试更新 PyCharm 控制台中的最后一行.比如说,我打印 a,然后我想将其更改为 c.但是,我遇到以下问题.当我跑步时:
I am trying to update the last line in PyCharm's console. Say, I print a and then I want to change it to c. However, I encounter the following problem. When I run:
print 'ac'
打印出来
a c
而所需的输出(这也是我在 Windows 控制台中看到的)是:
while the desired output (which is also what I see in the Windows console) is:
c
有没有办法将光标移回 PyCharm 的控制台?或者可能删除整行?
Is there a way to move the cursor back in PyCharm's console? or maybe delete the whole line?
推荐答案
这是一个已知错误:http://youtrack.jetbrains.com/issue/PY-11300
如果您对此感兴趣,请在错误跟踪器上注册一个帐户并上传错误以给予更多关注.
If you care about this, please get an account on the bug tracker and upload the bug to give it more attention.
这篇关于'' 不在 PyCharm 控制台中打印退格键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:'' 不在 PyCharm 控制台中打印退格键
基础教程推荐
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
