Browse Source

System

pull/10/head
Jure Šorn 6 years ago
parent
commit
60fcfaf681
1 changed files with 9 additions and 9 deletions
  1. 18
      README.md

18
README.md

@ -846,15 +846,15 @@ while True:
``` ```
#### Modes: #### Modes:
* `'r'` - read (default) * `'r' ` - Read (default)
* `'w'` - write (truncate) * `'w' ` - Write (truncate)
* `'x'` - write or fail if the file already exists * `'x' ` - Write or fail if the file already exists
* `'a'` - append * `'a' ` - Append
* `'w+'` - read and write (truncate) * `'w+'` - Read and write (truncate)
* `'r+'` - read and write from begining * `'r+'` - Read and write from begining
* `'a+'` - read and write from end * `'a+'` - Read and write from end
* `'b'` - binary mode * `'b' ` - Binary mode
* `'t'` - text mode (default) * `'t' ` - Text mode (default)
#### Read Text from File: #### Read Text from File:
```python ```python

|||||||
100:0
Loading…
Cancel
Save