One for all,all for one.
2015年1月23日 星期五
Python read file don't include '\n'
with
open
(
fname
)
as
f
:
content
=
f
.
read
().
splitlines
()
References :
string - Python: read file line by line into array - Stack Overflow
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言