02 2017 档案

摘要:1. 打开文件,创建文件对象。f = open(文件名,模式)最常用的模式有:"r" # 只读“w” # 写入 >>> f2 = open('E:\Dropbox\python\if.py', 'r') or >>> with open(r'E:\Dropbox\python\test.txt.tx 阅读全文
posted @ 2017-02-28 09:02 青蛙的邻居 阅读(235) 评论(0) 推荐(0)
摘要:参数练习 阅读全文
posted @ 2017-02-27 11:23 青蛙的邻居 阅读(178) 评论(0) 推荐(0)
摘要:http://python-docx.readthedocs.io/en/latest/#user-guide 阅读全文
posted @ 2017-02-24 17:56 青蛙的邻居 阅读(379) 评论(0) 推荐(0)
摘要:','.join(filter(lambda x: x, a.split(' '))) 阅读全文
posted @ 2017-02-22 15:00 青蛙的邻居 阅读(399) 评论(0) 推荐(0)
摘要:效果 日志文件格式 [ERROR] [2017-02-14 11:13:27][cn.com.eju.deal.core.Interceptor.MethodExecutionInterceptor]Method: public java.lang.String cn.com.eju.deal.in 阅读全文
posted @ 2017-02-15 10:10 青蛙的邻居 阅读(220) 评论(0) 推荐(0)