2019-03-04
閱讀量:
649
python讀取文件的模式有哪些?
python讀取文件的模式有哪些?
答:
Python讀取文件包括兩步:文件打開+文件讀取
文件打開代碼示例:infile = open(“numbers.dat”,”r”)
文件打開模式如下:







評論(0)


暫無數(shù)據(jù)
推薦帖子
0條評論
0條評論
0條評論
0條評論