- 博客(3)
- 资源 (1)
- 问答 (4)
- 收藏
- 关注
原创 python 正则匹配指定字符之间的字符
import reurl="SHJ/DF.WEtoken=sakdahdjhfue231j1hjj4jhj43h&data={qweqwe:wrqr}"n = re.findall(r"token=(.+?)&data", url)new= "888899990000qqqqaaaa"newurl = url.replace(n[0], new)print(n)print("oldurl:{}".format(url))print("newurl:{}".format(ne.
2021-10-17 11:38:12 213
原创 Lunix scp等命令不需要输入yes确认方法
方法一:连接时加入StrictHostKeyChecking=nossh -o StrictHostKeyChecking=no root@192.168.1.100方法二:修改/etc/ssh/ssh_config配置文件,添加:StrictHostKeyChecking no
2020-08-01 09:57:34 1609
原创 python实现找色
coding=utf-8import win32gui, win32api, win32con, timefrom PIL import ImageGrabdef PilImage(x, y):win32api.keybd_event(win32con.VK_SNAPSHOT, 0)time.sleep(0.2)im = ImageGrab.grabclipboard()pix = ...
2019-06-12 15:59:58 4110
shell脚本怎么替换某个关键字以下的内容
2020-07-30
请教将一个列表中字典字段相同的元素合并并且值相加,有什么好的办法吗?
2019-05-05
TA创建的收藏夹 TA关注的收藏夹
TA关注的人