Sometimes I need search some thing inside some python library docs that I have installed and I always use help() built-in function but I would like to know if there are some way to search inside this content or even better, without need to open a python terminal. I really would like to know some clean way to do this (linux based), avoiding pipes or something like this that I already know. There are some library or external useful to share with us?
In shell:
pydoc modulename | grep the-word
Example
$ pydoc os | grep chmod
chmod(...)
chmod(path, mode)
fchmod(...)
fchmod(fd, mode)
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.