在Pycharm的Jupyter笔记本中的问号

时间:2017-10-20 22:30:29

标签: python pycharm jupyter-notebook

我在Pycharm中使用Jupyter Notebook。当我尝试使用问号'?'时要获取文档(在浏览器中使用它时工作正常),它会在Pycharm中返回the following error

有人知道如何在Pycharm中完成这项工作吗?

1 个答案:

答案 0 :(得分:2)

另一种方法是使用帮助代替? ?当在pycharm中使用jupyter笔记本时,对我来说也不起作用。但帮助确实如此。

示例:

help(set)

打印

Help on class set in module builtins.
class set(object)
 |  set() -> new empty set object
 |  set(iterable) -> new set object
 |  
 |  Build an unordered collection of unique elements.
 |  
 |  Methods defined here:...