码迷,mamicode.com
首页 >  
搜索关键字:python 取消 ssl https    ( 271274个结果)
彻底解决各种浏览器访问不了GitHub问题
相信很多小伙伴都遇到过访问不了GitHub问题,一直加载不出来,漫长等待时间后出现无法加载的提示,心情爆炸!今天就彻底解决这个问题。下面的IP地址,小伙伴们一定不要按照我的来,因为这个IP过一段好像会改变,大家按照我给的网址一步步操作就可以了。 一、确定ip进入网址 https://github.c ...
分类:其他好文   时间:2021-04-19 15:00:22    阅读次数:0
python paramiko
paramiko基于SSH连接ssh Server执行操作(SSHClient远程连接,SFTPClient上传下载) pip install paramiko 简单示例 import paramiko ssh = paramiko.SSHClient() # 创建ssh客户端 know_hosts ...
分类:编程语言   时间:2021-04-19 14:58:53    阅读次数:0
接口隔离原则
官方定义 接口隔离原则(Interface Segregation Principle),又称ISP原则 1、 客户端不应该依赖它不需要的接口 2、 类间的依赖关系应该建立在最小的接口上 基本介绍 通俗的来讲,不要在一个接口中定义多个方法,接口应该尽量细化 package jiekogeli; pu ...
分类:其他好文   时间:2021-04-19 14:48:17    阅读次数:0
python实现多线程
from threading import Thread # 方式一 # def sub_thread(): # for i in range(11): # print(i) # def main(): # t = Thread(target=sub_thread) # t.start() # fo ...
分类:编程语言   时间:2021-04-19 14:46:14    阅读次数:0
Postman 汉化(Postman中文版)
postman官网下载地址https://www.postman.com/downloads/ postman汉化包https://github.com/hlmd/Postman-cn/releases 1.首先从官网下载postMan安装包 2.下载postMan 汉化包(app.zip) 3.将 ...
分类:其他好文   时间:2021-04-19 14:44:14    阅读次数:0
leetcode 226. 翻转二叉树
翻转一棵二叉树。 示例: 输入: 4 / \ 2 7 / \ / \1 3 6 9输出: 4 / \ 7 2 / \ / \9 6 3 1 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/invert-binary-tree著作权归领扣网络所有。 ...
分类:其他好文   时间:2021-04-19 14:42:03    阅读次数:0
python基础之异常捕获
当我们程序遇到异常时,会导致程序中止运行,见如下例子: def test(): a = int(input("please input:")) b = int(input("please input:")) result = a / b print(result) def test_1(): pri ...
分类:编程语言   时间:2021-04-19 14:38:29    阅读次数:0
python 连接数据库
安装第三方插件数据:pip install plmysql 安装到了本地python引用 代码调用 首先在python 文件中导入 import pymysql 看是否成功 ,成功则可连接,以上安装成功若导入还有问题重启一下python 即可 import pymysqlconnect =pymys ...
分类:数据库   时间:2021-04-19 14:36:30    阅读次数:0
Linux搭建Redis集群主从复制和哨兵模式实战
Redis系列(一):Redis 主从同步集群模式:https://phachon.com/redis/redis-1.html Redis系列(二):Redis 哨兵集群模式:https://phachon.com/redis/redis-2.html 以下仅为参考! https://www.cn ...
分类:系统相关   时间:2021-04-19 14:33:11    阅读次数:0
git Doc
https://www.git-scm.com/docs/git-pull https://www.runoob.com/git/git-pull.html https://www.yiibai.com/git/git_pull.html https://www.runoob.com/git/git ...
分类:其他好文   时间:2021-04-19 14:14:27    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!