会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lzjasd
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
12
下一页
2023年5月3日
使用alist 的api接口,上传文件到云盘
摘要: # alist 的api post /api/auth/login 获取token 请求参数 | 名称 | 位置 | 类型 | 必选 | 说明 | | | | | | | | Password | query | string | 是 | 密码 | | Username | query | stri
阅读全文
posted @ 2023-05-03 00:55 lzjasd
阅读(2392)
评论(1)
推荐(0)
编辑
2023年5月2日
安装alist
摘要: curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s install 下载 Alist latest ... ########################################################################
阅读全文
posted @ 2023-05-02 23:27 lzjasd
阅读(378)
评论(0)
推荐(0)
编辑
windows如何查看已经连接的wifi的密码
摘要: 在搜索框中搜索【控制面板】并打开 点击【网络和Internet】 点击【网络和共享中心】 点击目前所连接的WIFI. 点击【无线属性】 在新弹出的窗口中选择【安全】- 勾选【显示字符】即可看到无线网络密码
阅读全文
posted @ 2023-05-02 20:12 lzjasd
阅读(481)
评论(0)
推荐(0)
编辑
python获取命令返回的结果
摘要: # #!/usr/bin/env python # -*- coding: utf-8 -*- import subprocess import os def adb_shell(cmd): exit_code = os.system(cmd) return exit_code>>8 def adb
阅读全文
posted @ 2023-05-02 19:56 lzjasd
阅读(370)
评论(0)
推荐(0)
编辑
python 获取系统的信息
摘要: import platform def TestPlatform( ): print (" Operation System ") # 获取Python版本 print platform.python_version() # 获取操作系统可执行程序的结构,,(’32bit’, ‘WindowsPE’
阅读全文
posted @ 2023-05-02 19:46 lzjasd
阅读(107)
评论(0)
推荐(0)
编辑
python设置环境变量在代码中
摘要: 以Linux平台为例: >>> import sys >>> sys.path ''' ['', # 当前目录 '/usr/local/python3/lib/python37.zip', # python标准库目录 '/usr/local/python3/lib/python3.7', '/usr
阅读全文
posted @ 2023-05-02 18:51 lzjasd
阅读(91)
评论(0)
推荐(0)
编辑
2023年4月30日
harbor
摘要: wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/
阅读全文
posted @ 2023-04-30 05:41 lzjasd
阅读(33)
评论(0)
推荐(0)
编辑
软件源
摘要: wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/
阅读全文
posted @ 2023-04-30 05:38 lzjasd
阅读(91)
评论(0)
推荐(0)
编辑
2023年4月27日
pymongo工具类
摘要: from itemadapter import ItemAdapter import pymongo class Mongo_Client(object): def __init__(self,collection_name): self.clinet = pymongo.MongoClient("
阅读全文
posted @ 2023-04-27 11:03 lzjasd
阅读(19)
评论(0)
推荐(0)
编辑
2023年4月26日
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte
摘要: “'Accept-Encoding': 'gzip, deflate'” 这一条是我从Fiddler直接复制过来的,为什么用浏览器可以正常浏览,而用Python模仿就不行呢? 综合网上的解释: 这句话的意思是本地接收压缩格式的数据,服务器传过来压缩格式gzip的文件,而解压这种gzip文件只能用de
阅读全文
posted @ 2023-04-26 15:42 lzjasd
阅读(45)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
···
12
下一页
公告