|
@ -1072,8 +1072,8 @@ Open |
|
|
|
|
|
|
|
|
### File |
|
|
### File |
|
|
```python |
|
|
```python |
|
|
<file>.seek(0) # Move to the start of the file. |
|
|
|
|
|
<file>.seek(offset) # Move 'offset' chars/bytes from the start. |
|
|
|
|
|
|
|
|
<file>.seek(0) # Moves to the start of the file. |
|
|
|
|
|
<file>.seek(offset) # Moves 'offset' chars/bytes from the start. |
|
|
<file>.seek(offset, <anchor>) # Anchor: 0 start, 1 current pos., 2 end. |
|
|
<file>.seek(offset, <anchor>) # Anchor: 0 start, 1 current pos., 2 end. |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|