#写文件
オープンout_flieとして( "WT"、 "byh.txt")を有する:
out_flie.write( "121431 \ n414")
("RT"、 "byh.txt")オープンとin_fileとして:
テキスト= in_file.read ()
印刷(テキスト)
输出结果:
121431
414
#写文件
オープンout_flieとして( "WT"、 "byh.txt")を有する:
out_flie.write( "121431 \ n414")
("RT"、 "byh.txt")オープンとin_fileとして:
テキスト= in_file.read ()
印刷(テキスト)
输出结果:
121431
414