#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 控制台中打印退格键
基础教程推荐
- 求两个直方图的卷积 2022-01-01
- 修改列表中的数据帧不起作用 2022-01-01
- 使用大型矩阵时禁止 Pycharm 输出中的自动换行符 2022-01-01
- PANDA VALUE_COUNTS包含GROUP BY之前的所有值 2022-01-01
- 无法导入 Pytorch [WinError 126] 找不到指定的模块 2022-01-01
- 在Python中从Azure BLOB存储中读取文件 2022-01-01
- 包装空间模型 2022-01-01
- PermissionError: pip 从 8.1.1 升级到 8.1.2 2022-01-01
- 在同一图形上绘制Bokeh的烛台和音量条 2022-01-01
- Plotly:如何设置绘图图形的样式,使其不显示缺失日期的间隙? 2022-01-01
