摘要:
import pinyin.cedict # 转拼音 # nǐhǎo print(pinyin.get('你好')) # ni hao print(pinyin.get('你好', format="strip", delimiter=" ")) # ni3hao3 print(pinyin.get('你好', format="numerical")) # 获取首字母 n h ... 阅读全文
摘要:
import unittest import paramunittest @paramunittest.parametrized( {"server": "AAA","url": "AAA_URL"}, {"server": "BBB","url": "BBB_URL"}, {"server": "CCC","url": "CCC_URL"}, ) clas 阅读全文