Browse Source

Input function

pull/10/head
Jure Šorn 5 years ago
parent
commit
64f65841d6
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -828,7 +828,7 @@ arguments = sys.argv[1:]
**Reads a line from user input or pipe if present. The trailing newline gets stripped.**
```python
filename = input('Enter a file name: ')
<str> = input(prompt=None)
```
#### Prints lines until EOF:

Loading…
Cancel
Save