随笔分类 - python-模块
模块集合
摘要:import pypinyin from pypinyin import Style operator = pypinyin.slug(''.join(infos.get('你好')), separator='') # nihao
阅读全文
摘要:所需模块 from collections.abc import Iterable 函数 def pingpu(x): def flat_gen(x): def iselement(e): return not (isinstance(e, Iterable) and not isinstance(
阅读全文
摘要:作用: 此模块的主要作用是文件名称的匹配 | 字符 | 含义 | | | | | * | 匹配多个字符 | | ? | 匹配单个字符 | | [seq] | 匹配指定范围内字符 | | [!seq] | 匹配不在指定范围内的字符 | 使用: 1、集合os模块,匹配文件名 通过fnmatch模块,获取
阅读全文

浙公网安备 33010602011771号