
python
文章平均质量分 50
墨者
这个作者很懒,什么都没留下…
展开
-
uiautomator2一篇就够
adb shell chmod 755 /data/local/tmp/atx-agent data/local/tmp/atx-agent version # 查看版本 /data/local/tmp/atx-agent server -d # 启动atx-agent并切换到后台运行。将手机通过USB数据线连接至电脑,打开开发者模式,并开启USB调试(不同手机不同操作,需要自己研究下)打开ATX,启动UIautomator,提示Uiautomator not starting,打开ATX 查看IP。原创 2023-07-29 16:49:01 · 954 阅读 · 0 评论 -
python 定时任务
python 定时任务原创 2022-06-05 23:51:31 · 157 阅读 · 0 评论 -
python 日期循环、日期自增
import datetime as dtbegin = dt.date(2017, 10, 6)end = dt.date(2020, 12, 31)for i in range((end - begin).days + 1): day = begin + dt.timedelta(days=i) print(str(day)) syear = str(day.year) smonth = str(day.month) sday = str(day.day).原创 2022-05-30 10:41:54 · 2039 阅读 · 0 评论 -
python 用ezdxf制作简易cad
import matplotlib.pyplot as pltimport ezdxffrom ezdxf.addons.drawing import RenderContext, Frontendfrom ezdxf.addons.drawing.matplotlib import MatplotlibBackendimport redoc = ezdxf.new('R2010') # create a new DXF R2010 drawing, official DXF version .原创 2022-05-24 16:53:41 · 1850 阅读 · 0 评论 -
挂网课 Python selenium edge
网课挂课教程原创 2022-04-23 17:09:16 · 1324 阅读 · 0 评论 -
python开发的flappy bird 游戏
1、素材 0.png 1.png2.png background.png bottom.png top.png dead.png2、代码import pygameimport sysimport randomclass Bird(object): "...原创 2021-03-17 16:25:12 · 411 阅读 · 0 评论 -
多进程下载谷歌地图和切片地图合并
from urllib import requestimport reimport urllib.requestimport osimport randomimport mathimport multiprocessingagents = [ 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36', .原创 2020-09-01 20:20:49 · 518 阅读 · 0 评论 -
下载谷歌地图瓦片
from urllib import requestimport reimport urllib.requestimport osimport randomimport mathagents = [ 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36', 'Mozilla/5.0 (Windows;.转载 2020-09-01 19:35:36 · 1408 阅读 · 0 评论 -
django 项目教程
django1. 创建项目django-admin startproject mysite2. 创建应用cd mysite python manage.py startapp message_form [apps/message_form]#或django-admin startapp message_form [apps/message_form]# mysite/setting.py 添加################ 应用的静态文件和模板文件在应用目录# 增加设置apps原创 2020-06-03 15:48:36 · 421 阅读 · 0 评论 -
python3环境搭建安装
1、conda中定义好虚拟环境https://www.cnblogs.com/liaohuiqiang/p/9380417.html查看环境conda env list创建环境conda create -n python36 python=3.6进入环境source activate python36activate python36 # windows下搜索包conda s...原创 2020-01-11 20:01:43 · 884 阅读 · 0 评论