摘要: 一、文件的打开和创建 ? 1 2 3 4 5 >>> f = open('/tmp/test.txt') >>> f.read() 'hello python!\nhello world!\n' >>> f <open file '/tmp/test.txt', mode 'r' at 0x7fb2 阅读全文
posted @ 2018-01-06 23:58 猪悟能 阅读(623224) 评论(5) 推荐(12) 编辑