Skip to main content
 首页 » 编程设计

python之Pycharm 中 Jupyter Notebook 中的问号

2024年10月01日7www_RR

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

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

请您参考如下方法:

一种替代方法是使用 help 而不是 ?。 ?在 pycharm 中使用 jupyter notebook 时对我也不起作用。但帮助确实如此。

例子:

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:...