随笔分类 -  python

摘要:https://cuiqingcai.com/6519.html https://pypinyin.readthedocs.io/zh_CN/v0.4.2/ 阅读全文
posted @ 2021-10-06 18:40 baishengguan 阅读(73) 评论(0) 推荐(0)
摘要:对于不同的版本,python开启http服务的方式略有不同 python<=2.3 python -c "import SimpleHTTPServer as s; s.test();" 8000 python>=2.4 python -m SimpleHTTPServer 8000 python 阅读全文
posted @ 2020-12-19 16:48 baishengguan 阅读(2514) 评论(0) 推荐(0)
摘要:pandas生成excel及解析 import pandas as pd # 生成一列excel def generate_excel_one(): company_name_list = ['腾讯', '阿里巴巴', '百度'] df = pd.DataFrame(company_name_lis 阅读全文
posted @ 2020-11-22 19:03 baishengguan 阅读(712) 评论(0) 推荐(0)
摘要:python退出 exit: os._exit(0) 和 sys.exit(0) https://www.cnblogs.com/dll26/p/8016749.html python调用系统命令 https://www.cnblogs.com/jefree/p/4461979.html json 阅读全文
posted @ 2020-02-01 19:21 baishengguan 阅读(106) 评论(0) 推荐(0)