摘要: VS中编译通过: 阅读全文
posted @ 2017-05-19 23:24 StephenJusky 阅读(205) 评论(0) 推荐(0) 编辑
摘要: VS中: 工程属性->属性->配置属性->C/C++->命令行 在命令行中添加一行: /D _CRT_SECURE_NO_WARNINGS OK! 阅读全文
posted @ 2017-05-19 23:20 StephenJusky 阅读(3283) 评论(0) 推荐(0) 编辑
摘要: has_key方法在python2中是可以使用的,在python3中删除了。 比如: if dict.has_key(word): 改为: if word in dict: 阅读全文
posted @ 2017-05-04 15:48 StephenJusky 阅读(33967) 评论(1) 推荐(2) 编辑
摘要: 1. whl文件的安装:pip install 文件名.whl 2. 压缩包中有setup.py的安装:python setup.py install 3. 利用anaconda下载安装:conda install 目标工具 阅读全文
posted @ 2017-05-04 15:36 StephenJusky 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 今天在调python程序时,遇到了一个报错:illegal multibyte sequence. 后来在网上查资料,是文件读取的编码问题。 py3读取文件的时候是可以指定编码的:open('file path', 'r', encoding='utf-8') 阅读全文
posted @ 2017-05-04 15:33 StephenJusky 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 这几天在学用windbg分析进程的PTE和PDE内容,不过在配置windbg的过程中就遇到了不少问题。以下是步骤,可供参考。 1. 下载windbg,建议选择32位的。然后去 http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.msp 阅读全文
posted @ 2017-04-09 18:17 StephenJusky 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 解决Android模拟器卡慢的问题 本文介绍使用Intel HAXM技术为Android模拟器加速,使模拟器运行速度媲美真机。 Intel HAXM(Hardware Accelerate Execution Manager)使用基于Intel(R)Virtualization Technology 阅读全文
posted @ 2017-04-05 19:11 StephenJusky 阅读(6462) 评论(0) 推荐(0) 编辑
摘要: raw_input() was renamed to input() 阅读全文
posted @ 2017-04-05 19:01 StephenJusky 阅读(1399) 评论(0) 推荐(0) 编辑