Python
凌云之音
学海无涯
展开
-
MacOs下 Python3安装mysqlclient报错,ERROR: Command errored out with exit status 1
解决方案:#为/usr/local/mysql/bin/mysql_config创建软链接文件/usr/local/bin/mysql_configln -s /usr/local/mysql/bin/mysql_config /usr/local/bin/mysql_config原创 2019-12-25 21:57:35 · 2120 阅读 · 1 评论 -
pycharm中用pyinstaller 打包生成 .exe时出现typeerror:expected str,bytes or os.path,not None type解决方法
系统:win10 64位错误提示如下:Traceback (most recent call last): File "C:\Users\user\Desktop\untitled1\venv\Scripts\pyinstaller-script.py", line 11, in <module> load_entry_point('PyInstaller==3....转载 2019-11-12 10:55:51 · 1566 阅读 · 2 评论 -
Python中列表元素删除
Python中列表元素的删除方式 del命令删除 列表的pop()方法删除 以及列表的对象的remove()方法删除原创 2017-06-06 11:50:32 · 19302 阅读 · 0 评论 -
用Python实现与WeChat交互
用Python登录微信# Python要和微信进行连接通信 需要导入wxpy库# 本代码执行后直接会弹出二维码 手机上用微信扫描# 就能够登录微信 收发消息from wxpy import *bot = Bot(cache_path=True)# 设置cache 登录信息保存# 这样就不用每次都扫描二维码bot.file_helper.send("hello")# 发送消息hell...原创 2018-05-10 21:02:30 · 5017 阅读 · 0 评论