#39;#39; doesn#39;t print backspace in PyCharm console( 不在 PyCharm 控制台中打印退格键)

本文介绍了'' 不在 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 控制台中打印退格键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!