Browse Source

System

pull/10/head
Jure Šorn 6 years ago
parent
commit
b7a24f1862
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