上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页
摘要: // 转自: https://blog.csdn.net/Jailman/article/details/77573990import sys import psutil import ctypes from ctypes import * PAGE_EXECUTE_READWRITE = 0x00000040 PROCESS_ALL_ACCESS = ... 阅读全文
posted @ 2019-04-08 15:37 乘于时 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: #python 调用Windows API(使用IDLE开发环境)from ctypes import *msvcrt = cdll.LoadLibrary('msvcrt')for i in 'love': msvcrt.printf(i) #python 调用Windows API(使用VS开发 阅读全文
posted @ 2019-04-08 15:15 乘于时 阅读(7545) 评论(0) 推荐(0) 编辑
摘要: 代码结构由':'号和缩进 来标示. 函数: def 定义 不定参数: *args: tarple可逐个传, 整体传, *拆包传 **kwargs dict可逐个传, 整体传, ** 拆包传, 有2个不定参调用其它函数转发传递时,要用拆包传,防止粘连 调用父类函数的3种方法 super(). supe 阅读全文
posted @ 2019-04-07 23:41 乘于时 阅读(878) 评论(0) 推荐(0) 编辑
摘要: GC Garbage Collection 垃圾回收器 自动释放资源 关键字: new 1.创建对象 2.隐藏从父类继承的同名函数 using 1.引用命名空间 2. using(FileStream fsRead = new FileStream(source, FileMode.Open, Fi 阅读全文
posted @ 2019-04-07 23:39 乘于时 阅读(2224) 评论(0) 推荐(0) 编辑
摘要: 快速构建构造函数<!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--> 输入 ctor 然后按 TAB 键 快速构建自动属性 在变量那里,右击鼠标,点“重构”--“封装字段” Visual S 阅读全文
posted @ 2019-04-07 23:36 乘于时 阅读(1960) 评论(0) 推荐(0) 编辑
摘要: 1 sudo vi /etc/vim/vimrc 打开vimrc文件,最下面添加set nu,保存就可以添加行号了,set autoindent是自动换行 打开vimrc文件,最下面添加set nu,保存就可以添加行号了,set autoindent是自动换行 阅读全文
posted @ 2019-04-04 15:21 乘于时 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: 解决方法,设置超时时间 pip --default-timeout=100 install -U Pillow 安装时指定源(--index-url) #例如安装scipy时使用豆瓣的源 pip install --index-url https://pypi.douban.com/simple s 阅读全文
posted @ 2019-04-02 21:07 乘于时 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: 完整的错误提示: C:\Users\yyy>ipython3Fatal error in launcher: Unable to create process using '"c:\users\yyy\appdata\local\programs\python\python37\python.exe 阅读全文
posted @ 2019-04-01 14:22 乘于时 阅读(831) 评论(0) 推荐(0) 编辑
摘要: https://en.wikipedia.org/wiki/Comparison_of_Microsoft_Windows_versions https://learn.microsoft.com/zh-cn/windows/security/threat-protection/fips-140-v 阅读全文
posted @ 2019-03-22 11:31 乘于时 阅读(1763) 评论(0) 推荐(0) 编辑
摘要: win7下使用VS2010编译jpeglib 1、下载源代码下载地址:http://www.ijg.org/files/, 选择最新版本的windows版本压缩包,进行下载。 jpegsr9a.zip 1042 Kb Sun Jan 19 10:26:10 2014 Zip Compressed D 阅读全文
posted @ 2019-02-26 18:14 乘于时 阅读(3102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 16 下一页