![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
Cage小哥哥
会跳舞的代码
展开
-
使用python+ffmpeg桌面录制软件
需要创建目录结构:bin/ffmpeg.exemyVideomygui.pymygui.py文件代码如下:import osimport timeimport subprocessfrom tkinter import *import psutilLOG_LINE_NUM = 0class MyGui(object): def __init__(self, init_window_name): self.init_window_name = init_wi原创 2020-10-09 15:35:39 · 508 阅读 · 0 评论 -
python verify=False HTTPS告警忽略
python verify=False HTTPS告警忽略:import urllib3urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)原创 2020-07-30 18:14:42 · 1007 阅读 · 0 评论 -
python操作redis的五种数据结构:有序集合(zset)、字符串(String)、列表(List)、哈希(hash)、集合(Set)
一、创建redis连接池# redis settingsREDIS_HOST = "120.24.31.27"REDIS_PORT = 6379REDIS_PWD = 'jyckredis'REDIS_DB = 0def redis_init(): pool = redis.ConnectionPool(decode_responses=True, host=REDIS_HOST, port=REDIS_PORT, db=REDIS_DB, password=REDIS_PWD)原创 2020-06-12 12:07:58 · 618 阅读 · 0 评论 -
centos7 selenium chrome python3笔记
centos7 selenium chrome python3笔记安装chrome安装selenium安装chromeyum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm安装seleniumpip install selenium原创 2020-06-03 10:15:48 · 94 阅读 · 0 评论 -
flask笔记
1.安装 flasksudo pip3 install flask查看已安装的flask版本在 python 的交互模式中import flaskflask.versionflask 官网 :http://flask.pocoo.org/2.初始化见代码run.py访问路径:http://localhost:5000/login : 显示"登录页面"访问路径:http:...原创 2018-11-19 21:41:31 · 89 阅读 · 0 评论