f.write example
This commit is contained in:
parent
c88cb6a6a8
commit
f0f88aef3b
2 changed files with 5 additions and 1 deletions
4
python-temel/f.write.py
Normal file
4
python-temel/f.write.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
f = open('test.txt', 'w')
|
||||
f.write('This is a test')
|
||||
f.write('Yes this is a test')
|
||||
f.close()
|
|
@ -1 +1 @@
|
|||
this is a test
|
||||
This is a testYes this is a test
|
Loading…
Reference in a new issue