Disable ipython console in pycharm(在 pycharm 中禁用 ipython 控制台)
问题描述
我使用 PyCharm 社区版和 ipython.PyCharm 自动识别 ipython 并将其设置为默认控制台(PyCharm webhelp 链接),因此在调试模式下,它接受运行 ipython 魔术命令,例如 list?
或 ls
或 %timeit
.
I use the PyCharm community edition and also ipython. PyCharm automatically recognizes ipython and sets it as the default console (PyCharm webhelp link), so when in debugging mode, it accepts to runs ipython magic commands, like list?
or ls
or %timeit
.
非常好,但我想使用普通的旧 python 控制台.有没有一种简单的方法可以做到这一点?请注意,我不想卸载 ipython(这显然解决了我的问题),也不想设置 virtualenv.
It is very nice, but I would like to use the plain old python console. Is there a simple way to do that? Note that I do not want to uninstall ipython (which obviously solves my problem) nor do I want to set up a virtualenv.
我用的是python 3.3.2,但是2.7的问题是一样的.
I use python 3.3.2, but the problem is the same with 2.7.
推荐答案
进入 File -->默认设置
,点击console
,取消勾选Use IPython, if available
Go in File --> Default Settings
, click console
, Uncheck Use IPython, if available
然后进入 File -->设置
,取消勾选Use IPython, if available
Default Settings
和 Settings
是 File
菜单中的两个不同选项,因此请务必遵循两者
Default Settings
and Settings
are two different options in File
menu so make sure to follow both
我使用的是 PyCharm 3.4 版,在完成上述两个过程后,我没有得到 IPython 控制台.
这篇关于在 pycharm 中禁用 ipython 控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 pycharm 中禁用 ipython 控制台


基础教程推荐
- Python 中是否有任何支持将长字符串转储为块文字或折叠块的 yaml 库? 2022-01-01
- matplotlib 设置 yaxis 标签大小 2022-01-01
- 比较两个文本文件以找出差异并将它们输出到新的文本文件 2022-01-01
- Kivy 使用 opencv.调整图像大小 2022-01-01
- kivy 应用程序中的一个简单网页作为小部件 2022-01-01
- 在 Python 中将货币解析为数字 2022-01-01
- 对多索引数据帧的列进行排序 2022-01-01
- 在 Django Admin 中使用内联 OneToOneField 2022-01-01
- 究竟什么是“容器"?在蟒蛇?(以及所有的 python 容器类型是什么?) 2022-01-01
- Python,确定字符串是否应转换为 Int 或 Float 2022-01-01