2018年3月27日

Python_44pickle模块序列化与json模块

摘要: 2、以用户信息被修改的例子 3、pickle下的方法 dump pickle.dump(account_dic,f_accw) dumps f_accw.write(pickle.dumps(account_dic)) load account_dic=pickle.load(f_account) 阅读全文

posted @ 2018-03-27 16:58 JuGooLar 阅读(121) 评论(0) 推荐(0) 编辑

Python_43sys模块练习

摘要: 1、创建文件目录 2、创建进度条 阅读全文

posted @ 2018-03-27 14:51 JuGooLar 阅读(112) 评论(0) 推荐(0) 编辑

Python_41datetime模块

摘要: import time import datetime print (time.clock()) 返回处理器时间 print (time.time()) 返回当前系统时间戳 print (time.ctime()) 输出带有星期 日历 时间的当前系统时间 print (time.ctime(time 阅读全文

posted @ 2018-03-27 10:17 JuGooLar 阅读(93) 评论(0) 推荐(0) 编辑

导航