随笔分类 -  Python

语言特性 安装库等
摘要:Windows Python3.6 安装 IPython(Jupyter) qtconsole https://blog.csdn.net/wohu1104/article/details/104475909 直接使用命令安装: pip install PyQt5 -i https://pypi.t 阅读全文
posted @ 2022-02-24 17:37 boyang987 阅读(127) 评论(0) 推荐(0)
摘要:https://www.runoob.com/try/runcode.php?filename=HelloWorld&type=python3 https://www.runoob.com/python3/python3-tutorial.html #!/usr/bin/python3 import 阅读全文
posted @ 2022-02-18 14:30 boyang987 阅读(557) 评论(0) 推荐(0)
摘要:see https://pandas.pydata.org/docs/getting_started/intro_tutorials/07_reshape_table_layout.html 可以发现pivot_table 可以完成复杂的数据聚合、分类、透视功能 Wide to long forma 阅读全文
posted @ 2021-08-24 08:52 boyang987 阅读(59) 评论(0) 推荐(0)
摘要:语音合成 打开百度智能云后台 https://console.bce.baidu.com/ai/?_=1618387956936#/ai/speech/overview/index 参考百度语音合成Demo 贴上完整的Python # coding=utf-8 import sys import j 阅读全文
posted @ 2021-04-14 16:42 boyang987 阅读(154) 评论(0) 推荐(0)
摘要:安装OCR 开源库 Tesseract Tesseract 相比百度等在线库,最大优势是可以在本地运行 在这个页面下载最新的binary ,习惯用最新的安装包, tesseract-ocr-w64-setup-v5.0.0-alpha.20201127.exe 双击安装 并勾选需要的语言支持包,主要 阅读全文
posted @ 2021-04-12 10:38 boyang987 阅读(1216) 评论(2) 推荐(0)
摘要:python 生成器例子 可以将这个特殊的函数generator 看一个类 ,类中实现了next def generator(): i=0 while True: i +=2 yield i for item in generator(): print(item) if item>20: break 阅读全文
posted @ 2021-03-15 16:20 boyang987 阅读(85) 评论(0) 推荐(0)
摘要:参考 Python PIP 国内镜像 链接 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/s 阅读全文
posted @ 2021-02-01 16:20 boyang987 阅读(240) 评论(0) 推荐(0)