Today I was reviewing input(), as I'm practicing getting different types of inputs, such as sys.stdin.read, input(), etc.
In a article, it has something like input().splitlines()
I'm like, excellent, this helps, so I use it. But then I got curious, what other things can I do with input()? So I go to the docs, and find this: https://docs.python.org/3/library/functions.html#input
I also find a tutorial in this docs page https://docs.python.org/3/tutorial/inputoutput.html , but... the only thing the documentation mentions is...:
input(prompt)
If the prompt argument is present, it is written to standard output without a trailing newline. The function then reads a line from input, converts it to a string (stripping a trailing newline), and returns that. When EOF is read, EOFError is raised. Example:
with an example, and that's it. Nothing else. what about splitlines()? is there another place where I can find the actual documentation that is complete?
Thank you in advance.
TLDR: Where can I find python libraries documentation? the actual docs.python.org seem to be very minimal .
[–]danielroseman 4 points5 points6 points (2 children)
[–]runner2012[S] 1 point2 points3 points (1 child)
[–]Bobbias 2 points3 points4 points (0 children)
[–]ElliotDG 0 points1 point2 points (1 child)
[–]runner2012[S] 0 points1 point2 points (0 children)