f.read example 1

This commit is contained in:
Mert Gör 🇹🇷 2023-08-24 11:58:58 +03:00
parent fe74cd0c74
commit 595bf74790
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

3
python-temel/f.read.py Normal file
View File

@ -0,0 +1,3 @@
with open('test.txt', 'r') as f:
s = f.read(10)
print(s)