python 普通文件读写

 

with open('ttt.txt', 'w') as f:
    f.write('456.098909,9.090988,7.878765')
with open('ttt.txt', 'r') as f:
    print(f.read()=="")

 

posted @ 2019-01-10 16:18  anobscureretreat  阅读(172)  评论(0)    收藏  举报