
python
YiLiuF
这个用户超级懒,什么都没有留下
展开
-
python环境下ElasticSearch使用
环境配置安装依赖包pip install elasticsearch使用创建客户端from ssl import create_default_contextfrom elasticsearch import Elasticsearchfrom typing import Optional, Dict, Anyfrom elastic_transport import NodeConfig# context = create_default_context(cafile="XXX.p原创 2022-03-06 14:45:25 · 2561 阅读 · 0 评论 -
python3 muggle-ocr安装
python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com muggle-ocr原创 2021-12-23 20:08:21 · 1291 阅读 · 0 评论 -
2021-08-26 python 字符转换
import unicodedatas='\u3000及び英国装飾・トラッドファッションの研究(帽子・傘・靴・鞄・丸眼鏡・ウエストコート)等です。\r\n\r'unicodedata.normalize('NFKC',s)结果' 及び英国装飾・トラッドファッションの研究(帽子・傘・靴・鞄・丸眼鏡・ウエストコート)等です。\r\n\r'...原创 2021-08-26 09:35:49 · 127 阅读 · 0 评论