Silly question, where is read() documented?
Cameron Simpson
cs at cskk.id.au
Sat Aug 29 21:52:40 EDT 2020
Also:
https://docs.python.org/3/library/io.html#io.TextIOBase.read
https://docs.python.org/3/library/io.html#io.BufferedIOBase.read
Found by going to:
https://docs.python.org/3/
https://docs.python.org/3/genindex.html
https://docs.python.org/3/genindex-R.html
and finding the links to "read".
Personally, I fetch the Python docs every so often from:
https://docs.python.org/3/download.html
I fetch the "HTML" version, unpack it on my machine, and put a link to
the "index.html" file on my Desktop. Instant, offline-ready, Python docs
on my machine. Really snappy, because my browser's pulling from the
local filesystem.
Cheers,
Cameron Simpson <cs at cskk.id.au>
On 29Aug2020 17:33, Ian Hobson <hobson42 at gmail.com> wrote:
>https://docs.python.org/3/tutorial/inputoutput.html#methods-of-file-objects
>
>(It is in the top result returned by Google, searching for
>Python read documentation)
>
>On 29/08/2020 17:18, Chris Green wrote:
>>Well it sounds a silly question but I can't find the documentation for
>>read(). It's not a built-in function and it's not documented with
>>(for example) the file type object sys.stdin.
>>
>>So where is it documented? :-)
>
>-- Ian Hobson
More information about the Python-list
mailing list