上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 一、官网下载压缩包并解压。 官网:https://pypi.org/project/pip/#files 文件:选择.tar.gz版本 image 解压后,进入解压文件目录,在当前路径下打开cmd窗口 image 输入:python setup.py install 安装完成。 二、windows环 阅读全文
posted @ 2021-09-12 17:47 嗨,阿良 阅读(819) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/2001508/202109/2001508-20210902171317401-1103640243.jpg) 阅读全文
posted @ 2021-09-02 17:11 嗨,阿良 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 一、核心功能 ‘r’:只读。该文件必须已存在。 ‘r+’:可读可写。该文件必须已存在,写为追加在文件内容末尾。 ‘rb’:表示以二进制方式读取文件。该文件必须已存在。 ‘w’:只写。打开即默认创建一个新文件,如果文件已存在,则覆盖写(即文件内原始数据会被新写入的数据清空覆盖)。 ‘w+’:写读。打开 阅读全文
posted @ 2021-09-01 14:29 嗨,阿良 阅读(757) 评论(0) 推荐(0) 编辑
摘要: //输出A-Z 26个大写字母 for(var i=0;i<26;i++){ console.log(String.fromCharCode(65+i)); } //输出a-z 26个小写字母 for(var i=0;i<26;i++){ console.log(String.fromCharCod 阅读全文
posted @ 2021-08-31 11:34 嗨,阿良 阅读(1265) 评论(0) 推荐(0) 编辑
摘要: import string string.ascii_uppercase # 获取26个大写字母 (ABCDEFGHIJKLMNOPQRSTUVWXYZ <class 'str'>) string.ascii_lowercase # 获取26个小写字母 (abcdefghijklmnopqrstuv 阅读全文
posted @ 2021-08-31 11:21 嗨,阿良 阅读(919) 评论(0) 推荐(0) 编辑
摘要: aiohttp(用于asyncio和Python的异步HTTP客户端/服务器)初识 阅读全文
posted @ 2021-06-24 14:52 嗨,阿良 阅读(4478) 评论(0) 推荐(1) 编辑
摘要: pymongo中'addToSet'&'pull'简单使用 def update_malicious_sample_advantage_tags(self, update_tags_dict, opr_type): """ 批量更新恶意文件样本库中的优势样本标签 :param update_tags 阅读全文
posted @ 2021-04-09 18:02 嗨,阿良 阅读(346) 评论(0) 推荐(0) 编辑
摘要: ARP报文详解 ARP(Address Resolution Protocol)地址解析协议,根据IP地址获取物理地址的一个TCP/IP协议。 由于OSI模型把网络分为七层,IP地址在OSI模型第三层,MAC地址在第二层,彼此不直接通信。在通过以太网发送IP数据包时,需要封装第三层(32位IP地址) 阅读全文
posted @ 2021-04-04 18:19 嗨,阿良 阅读(1513) 评论(0) 推荐(0) 编辑
摘要: MongoDB中“$”操作符表达式汇总 查询 比较操作 $eq 语法:{ : { $eq: } } 释义:匹配等于(=)指定值的文档 举例: 查询age = 20的文档: db.person.find( { age: { $eq: 20 } } ) 相当于: db.person.find( { ag 阅读全文
posted @ 2021-04-04 17:53 嗨,阿良 阅读(2324) 评论(0) 推荐(4) 编辑
摘要: Python编码解码技巧汇总 encode encode将字符串转换为bytes类型的对象 (即b为前缀, bytes类型), 即Ascll编码, 字节数组 a = "检测到网站攻击" print(a.encode()) print(type(a.encode())) # b'\xe6\xa3\x8 阅读全文
posted @ 2021-04-04 12:05 嗨,阿良 阅读(581) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页