会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LarryKnight
博客园
首页
新随笔
联系
管理
订阅
12 2015 档案
python中的binascii
摘要:import binascii as Bs = 'abcde'h = B.b2a_hex(s) # 字符串转16进制 '6162636465'h = B.hexlify(s) # 作用同上s = B.a2b_hex(h) # 16进制转字符串 'abcde's = B.unhe...
阅读全文
posted @
2015-12-30 11:08
LarryKnight
阅读(11775)
评论(0)
推荐(0)
python中文处理
摘要:源码文件为utf-8格式 CODEC='utf-8';VS在“高级保存选项”中选择“UTF-8 65001”input(u'中文');print(u'中文')
阅读全文
posted @
2015-12-29 15:57
LarryKnight
阅读(191)
评论(0)
推荐(0)
python中的popen和subprocess
摘要:import osfrom subprocess import Popen, PIPEres = os.popen('xx.exe E:\\test\\file1 E:\\test\\file2')print res.read()ps = Popen("xx.exe E:\\test\\file1 ...
阅读全文
posted @
2015-12-29 15:44
LarryKnight
阅读(368)
评论(0)
推荐(0)
项目文件包含 ToolsVersion="12.0" 设置,但此工具集未知或缺失。
摘要:项目属性(Alt+F7),再点常规,常规中有个平台工作集,把V120改成V110或者v100,然后就能正常运行了。
阅读全文
posted @
2015-12-07 23:21
LarryKnight
阅读(20917)
评论(0)
推荐(0)
公告