会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
睁yan-ii
python
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
19
下一页
2021年6月29日
Python实现QQ PC端给好友发送消息
摘要: qq聊天窗口需要打开 import win32gui import win32con import win32clipboard class CSendQQMsg(): def __init__(self, friendName, msg): self.friendName = friendName
阅读全文
posted @ 2021-06-29 17:18 睁yan-ii
阅读(512)
评论(0)
推荐(0)
2021年6月24日
python 爬取小说
摘要: 参照地址 https://mp.weixin.qq.com/s/7HbKSXl2kJJH5DecSYXYFA import os import requests from bs4 import BeautifulSoup # 声明请求头 headers = { 'User-Agent': 'Mozi
阅读全文
posted @ 2021-06-24 18:43 睁yan-ii
阅读(400)
评论(0)
推荐(0)
2021年6月22日
如何在docker容器中运行docker命令
摘要: https://blog.csdn.net/weixin_36938307/article/details/105092191 docker run -it --rm --name=centos \ > -v /var/run/docker.sock:/var/run/docker.sock \ >
阅读全文
posted @ 2021-06-22 16:45 睁yan-ii
阅读(371)
评论(0)
推荐(0)
Linux下编辑文档报错is read-only (add ! to override)
摘要: 1,你要先强制退出 :q! 2,退出后在执行 :sudo !! 3,再次编辑你要编辑的内容 vim ... 4,再保存就可以了 :wq!
阅读全文
posted @ 2021-06-22 16:43 睁yan-ii
阅读(744)
评论(0)
推荐(0)
2021年6月10日
使用docker搭建FastDFS文件系统 + python3 上传测试
摘要: 1 docker image pull delron/fastdfs 2 mkdir -p /root/app/fdfs/tracker 本地创建文件存储 mkdir -p /root/app/fdfs/storage 3 运行容器 更改为自己的ip # tracker tracker容器(跟踪服务
阅读全文
posted @ 2021-06-10 15:24 睁yan-ii
阅读(154)
评论(0)
推荐(0)
2021年6月4日
linux 下查看cpu是几核的?内存?
摘要: 几个cpu more /proc/cpuinfo |grep "physical id"|uniq|wc -l 内存使用情况? free -h 每个cpu是几核(假设cpu配置相同) more /proc/cpuinfo |grep "physical id"|grep "0"|wc -l cat
阅读全文
posted @ 2021-06-04 16:55 睁yan-ii
阅读(2076)
评论(0)
推荐(0)
git 怎么提交非空仓库?最保险方法(git之前备份数据)
摘要: 1. git init 2. git add -A 3.git commit -m['初始化'] 4 git remote add origin https://gitee.com/youyisl/myvue.git 5 git push origin master 会出现以下错误 然后 执行 gi
阅读全文
posted @ 2021-06-04 11:16 睁yan-ii
阅读(113)
评论(1)
推荐(0)
2021年6月3日
python 爬取视频简单测试
摘要: import requests def download_file(url, path): with requests.get(url, stream=True) as r: chunk_size = 1024 content_size = int(r.headers['content-length
阅读全文
posted @ 2021-06-03 11:50 睁yan-ii
阅读(53)
评论(0)
推荐(0)
2021年6月1日
base64图片码转换成图片
摘要: img = base64.b64decode(value)fh = open("a.jpg","wb")fh.write(img)fh.close()
阅读全文
posted @ 2021-06-01 15:41 睁yan-ii
阅读(341)
评论(0)
推荐(0)
查询公网出口
摘要: curl myip.ipip.net 查询公网出口 liuzhizhi@lzz-rmbp|logs # curl ipinfo.io{ "ip": "114.110.1.38", "hostname": "No Hostname", "city": "Beijing", "region": "Bei
阅读全文
posted @ 2021-06-01 15:37 睁yan-ii
阅读(92)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
19
下一页
公告