
python
「已注销」
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
python 3.x 图片下载
import urllib.request import os import re url=r'http://image.baidu.com/search/index?tn=baiduimage&ipn=r&ct=201326592&cl=2&lm=-1&st=-1&fm=index&fr=&sf=1&fmq=&pv=&ic=0&nc=1&z=&se=1&showtab=0&fb=0&width=&转载 2017-04-03 19:56:52 · 268 阅读 · 0 评论 -
python 读写 Excel
#电量表读取 from collections import OrderedDict from pyexcel_xls import get_data from pyexcel_xls import save_data import random x = 3 y = 8 yEnd = 58 sheet = [] row_top_data = [u"A路电量", u"B路电量", u"A路电量",...原创 2018-02-28 17:49:38 · 846 阅读 · 0 评论 -
代理抓取
# proxy.py # -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support import ex...原创 2018-10-16 16:11:44 · 308 阅读 · 0 评论 -
网关流量截取
#coding:utf-8 from scapy.all import ARP,send,arping import sys,re,time stdout=sys.stdout IPADDR="192.168.1.*" gateway_ip="192.168.1.1" #网关mac地址 gateway_hw="AF:AF:AF:AF:AF:AF" p=A原创 2018-11-12 23:42:50 · 1179 阅读 · 0 评论 -
读取网页内容定时发到QQ群
https://github.com/pandolia/qqbot QQBOT源码和使用方法 安装命令 pip install qqbot # -*- coding: utf-8 -*- from qqbot import qqbotsched import time import requests @qqbotsched(hour='23,0,1,3,5,7,9,11,13,15,17,19,...原创 2018-11-11 01:02:47 · 1457 阅读 · 2 评论 -
python dllhijacker
修复版的Dll Hijacker #coding=utf-8 # # Dll Hijacker # # platform: Python 2.x @ Windows # # author:Coca1ne import os,sys,time import pefile def main(): try: pe = pefile.PE(sys.argv[1]) ...原创 2018-12-04 15:29:09 · 914 阅读 · 2 评论 -
python bmp转jpg
import os from PIL import Image import shutil import sys output_dirHR = 'jpg_out' if not os.path.exists(output_dirHR): os.makedirs(output_dirHR) def img2img(dataset_dir,type): files = ...原创 2019-07-29 12:23:22 · 2457 阅读 · 0 评论