上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: import codecs import os #格式转换 fhanzi1 = codecs.open(os.path.join(outputpath,"hanzi1.txt"),"r") fhanzi = codecs.open(os.path.join(outputpath,"hanzi.txt"),"w") result_f = codecs.EncodedFile(f... 阅读全文
posted @ 2016-07-08 18:15 小白闯天下 阅读(2764) 评论(0) 推荐(0) 编辑
摘要: 来自:https://plus.google.com/102216617437795883914/posts/EzYX2HJjm61 阅读全文
posted @ 2016-07-01 17:32 小白闯天下 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 背景: hfs升级把右键给升没了 搜索了下 都是如何删除的 但没有怎么添加 添加: 保存如下内容为.reg 然后双击导入即可 阅读全文
posted @ 2016-06-30 10:31 小白闯天下 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Symbol Server (Microsoft): srv*c:\mss*http://msdl.microsoft.com/download/symbols Symbol Server (Citrix): srv*c:\css*http://ctxsym.citrix.com/symbols .symfix c:\mss .sympath+ srv*c:\css*http://ctxsy... 阅读全文
posted @ 2016-06-20 16:37 小白闯天下 阅读(344) 评论(0) 推荐(0) 编辑
摘要: KCQWK-Q43V3-M3F2T-83VGV-Y6VTX 阅读全文
posted @ 2016-06-17 09:45 小白闯天下 阅读(223) 评论(0) 推荐(0) 编辑
摘要: def TIMEOUT_COMMAND(command, timeout): """call shell-command and either return its output or kill it if it doesn't normally exit within timeout seconds and return None""" import subproces... 阅读全文
posted @ 2016-06-03 11:25 小白闯天下 阅读(3407) 评论(0) 推荐(0) 编辑
摘要: 有很多是说把cursorclass=MySQLdb.cursors.DictCursor 这行代码加在connect参数里,但在python 2.7上是会报错的。 阅读全文
posted @ 2016-05-11 16:53 小白闯天下 阅读(498) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 myPath="C:\\ime" import os from win32api import GetFileVersionInfo, LOWORD, HIWORD def get_version_number (filename): try: info = GetFileVersionInfo (filename, "\\") ... 阅读全文
posted @ 2016-05-09 14:32 小白闯天下 阅读(731) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 复制编译出来的gtestd.lib文件到D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib目录下 我这里用的是vs2015 其他版本的可以自行查看目录 阅读全文
posted @ 2016-05-04 16:59 小白闯天下 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: 1. 下载gtest https://github.com/google/googletest 2. 解压文件 使用vs2015 打开googletest-master\googletest\msvc\gtest.sln 并编译gtest,gtest_main,gtest_unittest,gtes 阅读全文
posted @ 2016-05-04 16:14 小白闯天下 阅读(690) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页