摘要:
from time import sleepimport randomimport itchatimport sysimport osimport requestsfrom PyQt5.QtWidgets import (QWidget, QPushButton, QLineEdit, QInput
阅读全文
posted @ 2019-05-16 15:39
zzzs2
阅读(467)
推荐(0)
摘要:
import sysimport osimport requestsfrom PyQt5.QtWidgets import (QWidget, QPushButton, QLineEdit, QInputDialog, QApplication)from PyQt5.QtWidgets import
阅读全文
posted @ 2019-05-16 09:45
zzzs2
阅读(459)
推荐(0)
摘要:
import reimport requestsimport threadingimport _threadfrom time import sleepimport timeimport randomrespose=requests.get('http://www.xiaohuar.com/v/')
阅读全文
posted @ 2019-05-10 17:40
zzzs2
阅读(165)
推荐(0)
摘要:
# -*- coding: UTF-8 -*-import xlrdimport xlwt#只能读不能写openexcel = xlrd.open_workbook('11.xlsx')#打开一个excelsheet = openexcel.sheet_by_index(0)#根据顺序获取sheet
阅读全文
posted @ 2019-05-10 17:16
zzzs2
阅读(288)
推荐(0)
摘要:
import osimport reimport requestsimport threadingimport _threadfrom time import sleepimport timeimport randomrespose=requests.get('http://www.xiaohuar
阅读全文
posted @ 2019-05-10 17:13
zzzs2
阅读(326)
推荐(0)
摘要:
from wxpy import *from time import sleepimport randombot = Bot(cache_path= True)#print('防止微信账号违规操作被封,每次发送信息时间间隔为随机0-1.5s')message = input('请输入要发送的微信信息
阅读全文
posted @ 2019-05-10 17:10
zzzs2
阅读(269)
推荐(0)
摘要:
# encoding=utf-8from wxpy import *bot = Bot(cache_path=True, console_qr=False)# 启用 puid 属性,并指定 puid 所需的映射数据保存/载入路径mymine = bot.friends().search('小号')[
阅读全文
posted @ 2019-05-10 17:06
zzzs2
阅读(1018)
推荐(0)
摘要:
from wxpy import *from time import sleepimport randombot = Bot(cache_path= True)#print('防止微信账号违规操作被封,每次发送信息时间间隔为随机0-1.5s')message = input('请输入要发送的微信信息
阅读全文
posted @ 2019-05-10 17:05
zzzs2
阅读(1670)
推荐(0)
摘要:
d = webdriver.Firefox() #火狐浏览器 d.get(url) #用get方法打开哪个网址 print (d.title) #打印网址的标题 sleep(0.1) #等待时间 d.find_element_by_id("kw").send_keys("username") #在控
阅读全文
posted @ 2019-04-01 10:43
zzzs2
阅读(190)
推荐(0)
摘要:
def a(): global phone phone=input('请输入手机号码') def b (): id=phone print(id) 在函数内用global定义变量,变量外就可使用该变量
阅读全文
posted @ 2019-03-21 10:59
zzzs2
阅读(1410)
推荐(0)