摘要: 废话少说直接上代码 a='百度;www.baidu.com' from xpinyin import Pinyin # 实例拼音转换对象 p = Pinyin() # 进行拼音转换 ret = p.get_pinyin(u"百度;www.baidu.com", tone_marks='marks') 阅读全文
posted @ 2021-08-13 15:01 睁yan-ii 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 参考链接https://www.ycbbs.vip/?p=38251 1 需要下载补丁插件和激活密钥 http://123.56.2.32:8888/group1/M00/00/00/rBwalWEWFyeAKj6bAD3RZ6v-dN46.3.zip 2 下载完成之后 打开idea 拖动补丁 3 阅读全文
posted @ 2021-08-13 14:55 睁yan-ii 阅读(8423) 评论(1) 推荐(0) 编辑
摘要: 1 后端传过来的是列表数据但是两边有双引号(str) JSON.parse() 阅读全文
posted @ 2021-08-13 11:04 睁yan-ii 阅读(325) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 import os '''***获取当前目录***''' print(os.getcwd()) print(os.path.abspath(os.path.dirname(__file__))) '''***获取上级目录***''' print(os.path.absp 阅读全文
posted @ 2021-08-13 10:44 睁yan-ii 阅读(1197) 评论(0) 推荐(0) 编辑