Python Function Reference

There are many applications / widgets for linking to a PHP function, and even for Ruby, but I am shocked that there is nothing available for a popular language such as Python (besides the official online documentation).

Actually there is no convenient Python widget / application reference? I have a book called "Pocket Reference", but the toolbar widget will be so convenient!

+3
source share
4 answers

Python libraries have (or should have) built-in documentation through docstrings. Furthermore, python code is (mostly) very readable, and reading the source (.py or even .c) is actually the preferred way for many developers to get the information they are looking for, especially since some corner cases may not even be documented.

I found myself looking at the source from time to time, as if it was a natural step in finding functionality, either because I was curious how they solve the problem, or because I find it faster than problems with obscure search engines and reading SO questions.

+1
source

() , , pydoc, pydoc -, . pydoc,

0
  • - . dir(<identifier) , help(<identifier>) .

  • pydoc - . Python , man , -, , .

0

Mac OS.

Python, .

Safari. http://docs.python.org/index.html

.

-1

Source: https://habr.com/ru/post/1728534/


All Articles