Staging: this is not the live site, pydocs.org.
Command-line interface libraries
getstr([[y, x,] n=2047])
Read a line of input and return it as a bytes object.
y
Y-coordinate.
x
X-coordinate.
n
Maximal number of bytes.Changed in 3.14
- 3.14: The maximum value for n was increased from 1023 to 2047.