摘要: #!/usr/src/python# -*- coding:utf-8 -*-# 数据预处理# 插入数据def ins_data(): pass# 删除数据def del_data(): pass# 数据更新def upd_data(): pass# 数据查询操作def sel_data(): if 阅读全文
posted @ 2017-05-18 19:17 geek_ace 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 打开文件的操作模式 f=open('a.txt','r+') #读写f=open('a.txt','w+') #写读f=open('a.txt','a+') #追加并且读 文件操作的步骤 1.打开文件 2.读写内容 3.关闭文件 写模式 f=open('a.txt','w')f.write('111 阅读全文
posted @ 2017-05-18 17:37 geek_ace 阅读(144) 评论(0) 推荐(0) 编辑