简体   繁体   中英

Question mark in Jupyter Notebook in Pycharm

I am using Jupyter Notebook in Pycharm. When I try to use the question mark '?' to get documentation (which works fine when I use it in the browser), it returns the following error in Pycharm.

Would anybody know how I could make this work in Pycharm?

One alternative is to use help instead of ?. ? also doesn't work for me when using jupyter notebook in pycharm. But help does.

Example:

help(set)

Prints out

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM