Browse Source

System

pull/10/head
Jure Šorn 5 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:
* `'r'` - read (default)
* `'w'` - write (truncate)
* `'x'` - write or fail if the file already exists
* `'a'` - append
* `'w+'` - read and write (truncate)
* `'r+'` - read and write from begining
* `'a+'` - read and write from end
* `'b'` - binary mode
* `'t'` - text mode (default)
* `'r' ` - Read (default)
* `'w' ` - Write (truncate)
* `'x' ` - Write or fail if the file already exists
* `'a' ` - Append
* `'w+'` - Read and write (truncate)
* `'r+'` - Read and write from begining
* `'a+'` - Read and write from end
* `'b' ` - Binary mode
* `'t' ` - Text mode (default)
#### Read Text from File:
```python

Loading…
Cancel
Save