#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
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- 筛选NumPy数组 2022-01-01