在Mac OSX下安装Microsoft Calibri字体 1.下载: Calibri-and-Cambria-Fonts.zip; 2.双击解压该文件; 3.进入解压后的目录; 4.选择字体对应的.TTF文件,右键; 5.选择"open with" → "Font Book" (字体册) 打开; ...
分类:
系统相关 时间:
2020-11-23 11:49:30
阅读次数:
16
起因 困扰我好久的一个报错,终于解决了 之前我一直以为是 python代码的问题,以为是模块相互调引起的报错,忽略了最后一行这个错误 OSError: libGCBase_gcc421_v3_0.so: cannot open shared object file: No such file or ...
分类:
系统相关 时间:
2020-11-21 12:08:55
阅读次数:
16
最近在整理游戏配置表,发现诸多表格中的批注出现了大范围的偏移,而我又不想再Excel中处理,因为我想把整个数据表都搬到数据库里, 这样可以增加表相关属性间的联系,在建模的时候方便获取相关联的信息 因此想把对应表格的批注集中管理一下。 import openpyxl wb=openpyxl.load_ ...
分类:
编程语言 时间:
2020-11-21 11:48:36
阅读次数:
5
macOS 版本:10.15.4 (19E287) appium版本:1.18.3 遇到的问题: 先是报这个:An unknown server-side error occurred while processing the command. Original error: Neither AND ...
分类:
移动开发 时间:
2020-11-20 11:36:33
阅读次数:
50
下载ntfs-3g https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz 解压 tar -zxvf ntfs-3g_ntfsprogs-2017.3.23.tgz 进入解压目录 cd ntfs-3g_ntfsprogs-2017. ...
分类:
移动开发 时间:
2020-11-20 11:34:55
阅读次数:
21
import jieba txt = open("西游记.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键值对的形式存储词语及其出现的次数 for word in ...
分类:
其他好文 时间:
2020-11-20 11:30:40
阅读次数:
32
import jieba txt = open("聊斋志异白话简写版.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键值对的形式存储词语及其出现的次数 for w ...
分类:
其他好文 时间:
2020-11-20 11:24:38
阅读次数:
3
1 import jieba 2 3 txt = open("D:\\西游记.txt", "r", encoding='gb18030').read() 4 words = jieba.lcut(txt) # 使用精确模式对文本进行分词 5 counts = {} # 通过键值对的形式存储词语及其出 ...
分类:
其他好文 时间:
2020-11-19 13:02:49
阅读次数:
32
import jieba txt = open("D:\\西游记.txt", "r", encoding='utf-8').read() words = jieba.lcut(txt) # 使用精确模式对文本进行分词 counts = {} # 通过键值对的形式存储词语及其出现的次数 for wor ...
分类:
其他好文 时间:
2020-11-19 12:43:23
阅读次数:
12
OpenAPI 是一个规范的名称。 3.0版本的对RESTful API方面做得很好。 Swagger 是一个 API文档维护组织,后来成为了 Open API 标准的主要定义者。现在最新的版本为17年发布的 Swagger3(Open Api3)。 是一个Open API规范实现工具包,由于Swa ...