f.seek example
This commit is contained in:
parent
ddacee5bcd
commit
ebbcf76b9e
3
python-temel/f.seek.py
Normal file
3
python-temel/f.seek.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
with open('test.txt', 'r+') as f:
|
||||||
|
f.seek(0, 2)
|
||||||
|
s = f.write('xxx')
|
|
@ -1,2 +1,2 @@
|
||||||
mert
|
0123456789
|
||||||
gör
|
xxx
|
Loading…
Reference in New Issue
Block a user