- 博客(4)
- 收藏
- 关注
原创 imgkit在Ubuntu系统上生成的图片汉字乱码
原先代码:import imgkitoptions = {'encoding': 'utf8'}imgkit.from_string(table, 'table.jpg',options=options)修改后代码:table = "<!DOCTYPE html><html><head><meta charset='UTF-8'>&...
2019-08-28 17:09:52 1474 1
原创 OSError: No wkhtmltoimage executable found: "b''"
pip install wkhtmltoimage 进行尝试一下,如果还不行进行下面的操作。ubuntu系统,更新sudo apt-get update安装:sudo apt-get install xvfbsudo apt-get install wkhtmltopdfsudo pip install pdfkitsudo pip install imgkit...
2019-08-28 16:46:03 3273 2
原创 MAC 磁盘空间清理
mac磁盘满了,怎么清理。发现网上好多的教程,最后不是付费就是付费。你可以直接下载软件,通过软件找到大文件,然后删除。软件下载如下:百度网盘:链接:https://pan.baidu.com/s/1ho-vjeFX_6IgeWAhD69U-g 密码:4tp7web链接:https://omnidisksweeper.en.softonic.com/mac...
2019-08-23 16:51:33 129
原创 itchat发送图片失败
1.完全按照百度教程来,send_image失败;2.按照官方文档来,还是send_iamge失败;3.正确操作就是先pip install -U itchat跟新一下就行了。
2019-08-13 15:14:15 549
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人