会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
------------
博客园
首页
新随笔
新文章
联系
管理
订阅
2018年5月7日
python3 发送gzip文件请求
摘要: def toGzipFormat(postData): data=bytes(json.dumps(postData),'utf-8') ct=gzip.compress(data,) return ct postData= { "ProtocolType": "01003", "TaskId":
阅读全文
posted @ 2018-05-07 21:58 --------------------
阅读(1906)
评论(0)
推荐(0)
2017年1月5日
Python查找当前路径和子路径下指定后缀名的文件
摘要: 1 # -*- encoding:utf-8 -*- 2 import os 3 def SearchFile(path,text): 4 try: 5 files=os.listdir(path) 6 7 for f in files: 8 fl= os.path.join(path,f) 9 if os.path.isdir(fl): 10 #print fl 11 Se...
阅读全文
posted @ 2017-01-05 08:59 --------------------
阅读(4152)
评论(0)
推荐(0)
2016年12月12日
cron表达式使用详解
摘要: Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式: Seconds Minutes Hours DayofMonth Month DayofWeek Year或 Seconds Minutes Hours DayofMonth M
阅读全文
posted @ 2016-12-12 17:26 --------------------
阅读(5364)
评论(0)
推荐(0)
2016年4月9日
java中调用xml的方法:DocumentBuilderFactory
摘要: 具体的使用方法如下: (1)得到 DOM 解析器的工厂实例 DocumentBuilderFactory domfac=DocumentBuilderFactory.newInstance(); (2)从 DOM 工厂获得 DOM 解析器 DocumentBuilder dombuilder=dom
阅读全文
posted @ 2016-04-09 13:22 --------------------
阅读(3908)
评论(0)
推荐(0)
2016年3月1日
手机客户端UI测试常见的测试点
摘要: 1.各种分辨率下,显示正常。现市场上主流的塞班V3系统手机为240*320、320*240。WM系统主要为240*320、320*480。Android系统主要为320*480,Iphone系统为320*480。在产品确定设计前在哪些系统中些屏幕下运行。测试将对不同的屏幕下对UI在不同的机型个测试效
阅读全文
posted @ 2016-03-01 17:02 --------------------
阅读(515)
评论(0)
推荐(0)
2015年12月3日
Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法
摘要: 解决方法: 登录出现了这个错误提示:553 Could not create file SELinux设置如下 查看SELinux设置 [root@localhost ~]# getsebool -a|grep ftp allow_ftpd_anon_write –》 off allow_ftpd_
阅读全文
posted @ 2015-12-03 14:07 --------------------
阅读(3778)
评论(0)
推荐(0)
公告