随笔分类 -  python 模块

摘要:""" (1)、jieba库概述 jieba是优秀的中文分词第三方库 - 中文文本需要通过分词获得单个的词语 - jieba是优秀的中文分词第三方库,需要额外安装 - jieba库提供三种分词模式,最简单只需掌握一个函数 (2)、jieba分词的原理 Jieba分词依靠中文词库 - 利用一个中文词库 阅读全文
posted @ 2020-09-18 10:47 Anec 阅读(377) 评论(0) 推荐(0)
摘要:Pandas 数据读取模块 import pandas as pd # 读取文件 df = pd.read_excel("ceshi.xls") # # 显示所有数据 # data = df.values # print("获取第一行的数据:\n{0}".format(data)) # 显示获取前5 阅读全文
posted @ 2020-09-18 10:28 Anec 阅读(219) 评论(0) 推荐(0)
摘要:相关文章: https://www.cnblogs.com/276815076/p/8028127.html 阅读全文
posted @ 2019-04-05 09:49 Anec 阅读(168) 评论(0) 推荐(0)
摘要:控制已打开的浏览器 https://www.cnblogs.com/lovealways/p/9813059.html selenium、自动填充文本框、自动点按钮 https://blog.csdn.net/github_26672553/article/details/78579038 sele 阅读全文
posted @ 2019-04-05 01:11 Anec 阅读(480) 评论(0) 推荐(0)
摘要:SQLalchemy 概述: # &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&am 阅读全文
posted @ 2019-03-04 12:06 Anec 阅读(1222) 评论(0) 推荐(0)
摘要:# DButils 为了解决多客户端都需要操作数据库的问题. # import pymysql # from DBUtils.PooledDB import PooledDB # # POOL = PooledDB(creator=pymysql, # mincached=2, # maxcached=5, # ... 阅读全文
posted @ 2019-03-04 12:05 Anec 阅读(730) 评论(0) 推荐(0)
摘要:用到了python-nmap模块(注意是 python-nmap模块 不是nmap模块 且不要安装nmap模块!!!!) windows 中还需要下载一个 nmap 软件: 下载地址: https://pan.baidu.com/s/1rmLLLOiRcp1CBCMuKwCOxw 提取码:0tay 阅读全文
posted @ 2019-02-28 15:56 Anec 阅读(236) 评论(0) 推荐(0)
摘要:测试工具应用: https://ask.csdn.net/questions/247013 wmi连接不上报错问题集 https://blog.csdn.net/xcntime/article/details/51596814 https://blog.csdn.net/wangbin1986/ar 阅读全文
posted @ 2019-02-18 00:07 Anec 阅读(2152) 评论(0) 推荐(0)
摘要:GUI 窗口查询工具 spy++lite pywinauto 模块 原理: https://www.cnblogs.com/testlife007/p/4710599.html pywhinayto 常用功能 http://hao.imrrp.com/blog.php?id=4538 点击事件: h 阅读全文
posted @ 2019-02-13 16:12 Anec 阅读(11886) 评论(1) 推荐(0)
摘要:https://psutil.readthedocs.io/en/latest/#windows-services 阅读全文
posted @ 2019-01-06 23:49 Anec 阅读(211) 评论(0) 推荐(0)
摘要:mongoDB 数据库: pymongo 操作: 阅读全文
posted @ 2018-12-27 15:20 Anec 阅读(401) 评论(0) 推荐(0)
摘要:四种压缩模式: 压缩效果: 如何压缩目录以及目录内的文件: 注意: 直接压缩文件的目录,那么压缩内只有压缩的目录,却没目录下的文件。 这里要用到os.walk 文件遍历的方法。 top -- 是你所要遍历的目录的地址, 返回的是一个三元组(root,dirs,files)。 root 所指的是当前正 阅读全文
posted @ 2018-12-25 00:58 Anec 阅读(544) 评论(0) 推荐(0)
摘要:pymsql 模块 基本应用介绍: 上下文管理协议(示例) 简易封装pymysql类模块(数据表操作,查询/添加/修改/删除) 阅读全文
posted @ 2018-11-12 14:27 Anec 阅读(399) 评论(0) 推荐(0)
摘要:# beautifulsoup4学习 # 是一个python模块 用于接受一个HTML 或 XML 字符串,然后将其进行格式化,之后便可以使用模块提供的方法进行快速查找指定元素, # 从而是的在HTML 或xml中差汇总指定元素变得简单 # 安装方式: # pip beautifulsoup4 # 引入方式: from bs4 import BeautifulSoup #实例化,指定文... 阅读全文
posted @ 2018-11-10 15:13 Anec 阅读(211) 评论(0) 推荐(0)
摘要:requests模块 阅读全文
posted @ 2018-11-09 16:05 Anec 阅读(176) 评论(0) 推荐(0)
摘要:获取windows操作系统的硬件信息 阅读全文
posted @ 2018-10-14 22:57 Anec 阅读(1170) 评论(0) 推荐(0)
摘要:hashlib模块 阅读全文
posted @ 2018-10-05 15:34 Anec 阅读(131) 评论(0) 推荐(0)
摘要:server端: client端: 阅读全文
posted @ 2018-10-05 11:09 Anec 阅读(187) 评论(0) 推荐(0)
摘要:发送邮件 拓展: 常用icmp邮箱地址以及端口: 阅读全文
posted @ 2018-10-05 00:20 Anec 阅读(720) 评论(0) 推荐(0)
摘要:configparser模块 阅读全文
posted @ 2018-10-04 16:58 Anec 阅读(144) 评论(0) 推荐(0)