学习
cainiaonixiji
这个作者很懒,什么都没留下…
展开
-
pyautoit 模拟操作windows软件
pyautoit 模拟操作windows软件安装使用运行软件操作窗口操作控件操作键盘操作_项目所需,所封装的接口demo_安装pip install PyAutoIt可参考:https://pypi.org/project/PyAutoIt/使用import autoit运行软件autoit.run(r"D:\Program Files\Notepad++\notepad++.exe...原创 2019-04-12 13:47:11 · 5358 阅读 · 0 评论 -
python源码保护之cython
转载请注明出处!!!准备项目需要,是在windows7上操作。python3.7,针对python项目,而非单个的python程序。思路:先将py代码转成c代码,然后编译成pyd(window上是pyd,linux上是so)文件安装cython:pip install cython编译直接上源码import sys, os, shutil, timefrom distutils.c...转载 2019-06-21 11:29:19 · 4145 阅读 · 3 评论 -
关于01矩阵问题求岛屿个数及面积问题
关于01矩阵问题问题描述给定形如下 的矩阵,[[15, 5],[0, 1, 0, 1, 0],[1, 1, 0, 0, 0],[0, 0, 1, 1, 0],[0, 1, 0, 1, 0],[1, 0, 0, 0, 0],[0, 1, 0, 1, 0],[1, 1, 0, 0, 0],[0, 0, 1, 1, 0],[0, 1, 0, 1, 0],[1, 0, 0, 0...原创 2019-08-26 14:09:10 · 3057 阅读 · 0 评论 -
单词反转给定句子(python)
单词反转给定句子。(python,请不要使用诸如’’.split, [::-1]等时间/空间复杂度不是O(1)的函数)示例输入:“what is your name”,返回1 :“name your is what”返回1 :“eman ruoy si tahw”直接上代码def swap1(s): l = len(s) for i, v in enu...原创 2019-09-11 15:06:09 · 756 阅读 · 0 评论