pydoc

Display offline Python documentation. More information: <https://docs.python.org/3/library/pydoc.html>.

Install

All systems
curl cmd.cat/pydoc.sh
Debian Debian
apt-get install python
Ubuntu
apt-get install python
Alpine
apk add python
Arch Arch Linux
pacman -S python
image/svg+xml Kali Linux
apt-get install python
CentOS
yum install python
Fedora
dnf install python2
Windows (WSL2)
sudo apt-get update sudo apt-get install python
OS X
brew install python
Raspbian
apt-get install python
Docker
docker run cmd.cat/pydoc pydoc powered by Commando

Display offline Python documentation. More information: <https://docs.python.org/3/library/pydoc.html>.

  • Print documentation on a subject (Python keyword, topic, function, module, package, etc.):
    pydoc subject
  • Start an HTTP server on an arbitrary unused port and open a [b]rowser to see the documentation:
    pydoc -b
  • Display help:
    pydoc

© tl;dr; authors and contributors