会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
流云飘荡,何求不羁
沉迷于学习无法自拔…………
博客园
首页
新随笔
联系
管理
订阅
2018年2月5日
树莓派用U盘安装系统
摘要: * 需要使用Raspbian / Raspbian Lite或更高版本的2017-04-10版本 *不会SD卡装系统? 1. 先用装好Raspbian系统的SD卡启动 在命令行输入 echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt
阅读全文
posted @ 2018-02-05 21:32 流云不羁
阅读(2106)
评论(0)
推荐(0)
2018年1月30日
DVWA安装问题(phpStudy)
摘要: 安装过程出现的问题: 1.PHP function allow_url_include disabled 注意DVWA的版本 PHP version: 5.4.45 打开/phpStudy/php/php-5.4.45/php.ini,找到 allow_url_include=Off 改为: all
阅读全文
posted @ 2018-01-30 16:47 流云不羁
阅读(1040)
评论(0)
推荐(0)
2017年12月16日
随笔1
摘要: main.cpp tool.cpp tool.h
阅读全文
posted @ 2017-12-16 09:20 流云不羁
阅读(100)
评论(0)
推荐(0)
2017年12月2日
同时装了Python3和Python2,使用pip
摘要: 第一种方法: pip安装: 运行代码: 第二种方法: 运行代码: 在代码前加
阅读全文
posted @ 2017-12-02 18:33 流云不羁
阅读(105)
评论(0)
推荐(0)
2017年11月25日
Python Selenium + phantomJS 模拟登陆教务管理系统 “抢课”
摘要: # _*_coding:utf-8_*_ from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import os,urllib.request,sys,importlib,time,winreg def Login_in(username,password)...
阅读全文
posted @ 2017-11-25 15:54 流云不羁
阅读(1072)
评论(0)
推荐(0)
python selenium 鼠标悬停
摘要: 模拟鼠标悬停后,后搜索需要内容
阅读全文
posted @ 2017-11-25 15:43 流云不羁
阅读(2416)
评论(0)
推荐(0)
python 将验证码保存到本地 读取 写入
摘要: 1 #验证码 2 #读取验证码网址、打开本地路径、写入、输入验证码 3 downpicture = urllib.request.urlopen(SecretCodeUrl).read() 4 local = open(address, 'wb') 5 local.write(downpicture) 6 local.close() 7 print(u"请从桌面寻找你的验证码") ...
阅读全文
posted @ 2017-11-25 15:22 流云不羁
阅读(747)
评论(0)
推荐(0)
Python 定位桌面
摘要: 通过注册表寻找桌面路径: (用内置的winreg) import winreg key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, \ r'Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Fo
阅读全文
posted @ 2017-11-25 15:10 流云不羁
阅读(1039)
评论(0)
推荐(0)
Python selenium 一个节点两个关联input
摘要: HTML代码: 一个节点两个关联input 多出现于密码框 先需要模拟点击进入第一个input,才能激活第二个input。 代码: driver.find_element_by_name('Textbox1').click() driver.find_element_by_id('TextBox2'
阅读全文
posted @ 2017-11-25 15:04 流云不羁
阅读(299)
评论(0)
推荐(0)
2017年11月21日
python selenium+phantomjs alert()弹窗报错
摘要: 问题:用selenium+phantomjs 模拟登陆,网页用JavaScript的alert(“登陆成功”)弹出框,但是用switch_to_alert().accept()报错,不可执行命令。 目标代码:<script language="javascript">alert('*********
阅读全文
posted @ 2017-11-21 16:43 流云不羁
阅读(1401)
评论(0)
推荐(0)
公告