5 lines
117 B
Python
5 lines
117 B
Python
s = 'ağrı dağı çok yüksek'
|
||
with open('test.dat', 'wb') as f:
|
||
b = bytes(s, encoding='utf-8')
|
||
f.write(b)
|