07 2018 档案

摘要:Fiddler显示服务器ip地址列(方便查看host是否生效) Fiddler显示服务器ip地址列(方便查看host是否生效) 2016年08月31日 15:40:10 阅读数:5801 2016年08月31日 15:40:10 阅读数:5801 阅读数:5801 1、点击菜单栏rules——cus 阅读全文
posted @ 2018-07-28 15:18 yanhuidj 阅读(156) 评论(0) 推荐(0) 编辑
摘要:一、logging的框架 1、 Loggers: 可供程序直接调用的接口,app通过调用提供的api来记录日志 2、 Handlers: 决定将日志记录分配至正确的目的地 3、 Filters:对日志信息进行过滤,提供更细粒度的日志是否输出的判断 4、 Formatters: 制定最终记录打印的格式 阅读全文
posted @ 2018-07-27 12:10 yanhuidj 阅读(137) 评论(0) 推荐(0) 编辑
摘要:#!python3#codin=utf-8import yagmailyag = yagmail.SMTP(user='2679813@qq.com', password='mwlgdmwv4rssidijb', host='smtp.qq.com', port='465')body = "以下是l 阅读全文
posted @ 2018-07-22 20:24 yanhuidj 阅读(1687) 评论(0) 推荐(0) 编辑
摘要:-->baidy.py #coding=utf-8from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keysfrom 阅读全文
posted @ 2018-07-22 15:56 yanhuidj 阅读(167) 评论(0) 推荐(0) 编辑
摘要:#!python3#coding=utf-8from selenium import webdriverfrom selenium.webdriver.common.by import Byimport timedriver=webdriver.Chrome()driver.get('http:// 阅读全文
posted @ 2018-07-19 19:17 yanhuidj 阅读(2634) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-18 18:38 yanhuidj 阅读(427) 评论(0) 推荐(0) 编辑
摘要:# !usr/bin/python3# -*-coding=UTF-8-*-import smtplib # python 对SMTP的支持,smtplib这个库负责发送邮件from email.mime.text import MIMEText # 发送邮件要填充的成员from email.hea 阅读全文
posted @ 2018-07-18 16:39 yanhuidj 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-18 10:55 yanhuidj 阅读(77) 评论(0) 推荐(0) 编辑
摘要:一、安装XAMPP 1 百度搜索xampp后下载安装到D盘(安装时按默认勾选安装即可) 2 安装完后,点击Start来启动Apache和MySQL这两个服务 3 如果Apache服务不能启动,多数情况是80端口被pid为4的进程占用。 这时候,你有两种方法可以解决: 方法一,cmd运行net sto 阅读全文
posted @ 2018-07-14 13:51 yanhuidj 阅读(165) 评论(1) 推荐(0) 编辑
摘要:window cmd :python -m pydoc -p 8888 阅读全文
posted @ 2018-07-13 19:20 yanhuidj 阅读(172) 评论(0) 推荐(0) 编辑
摘要:class Login(unittest.TestCase): #初始 def setUp(self): chromeOpitons = Options() prefs = { # "profile.managed_default_content_settings.images":1, # "pro 阅读全文
posted @ 2018-07-13 16:30 yanhuidj 阅读(940) 评论(1) 推荐(0) 编辑
摘要:1. git pull origin master --allow-unrelated-histories 2.git pull origin master 3.git init 4.git remote add origin ssh://git@git.limikeji.com:10022/yan 阅读全文
posted @ 2018-07-12 18:51 yanhuidj 阅读(20718) 评论(0) 推荐(2) 编辑
摘要: 阅读全文
posted @ 2018-07-12 18:26 yanhuidj 阅读(1545) 评论(0) 推荐(0) 编辑
摘要:1.创建gitlab 账号,创建一个项目名称 地址:http://git.limikeji.com 2.配置git环境 用git命令上传代码 3.配置gitlab ssh 4.使用git命令上传代码 git config --config user.name 'xxx' git config --c 阅读全文
posted @ 2018-07-11 12:01 yanhuidj 阅读(190) 评论(1) 推荐(0) 编辑
摘要:#coding:utf-8from selenium import webdriverfrom selenium.webdriver.support.select import Selectfrom selenium.webdriver.chrome.options import Optionsim 阅读全文
posted @ 2018-07-10 18:17 yanhuidj 阅读(2151) 评论(0) 推荐(0) 编辑
摘要:get参数通过url传递,post放在request body中。 get请求在url中传递的参数是有长度限制的,而post没有。 get比post更不安全,因为参数直接暴露在url中,所以不能用来传递敏感信息。 get请求只能进行url编码,而post支持多种编码方式 get请求会浏览器主动cac 阅读全文
posted @ 2018-07-06 08:58 yanhuidj 阅读(140) 评论(0) 推荐(0) 编辑
摘要:from :https://blog.csdn.net/wushuai150831/article/details/78453549 阅读全文
posted @ 2018-07-04 10:13 yanhuidj 阅读(139) 评论(0) 推荐(0) 编辑
摘要:from : https://blog.csdn.net/Neo233/article/details/72866230?locationNum=15&fps=1%20HTTP%E6%8F%A1%E6%89%8B from : https://blog.csdn.net/Neo233/article 阅读全文
posted @ 2018-07-02 11:11 yanhuidj 阅读(1482) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示