摘要: 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 ... 阅读全文
posted @ 2019-03-07 15:18 OTAKU_nicole 阅读(3271) 评论(0) 推荐(0) 编辑
摘要: import unittest import paramunittest @paramunittest.parametrized( {"server": "AAA","url": "AAA_URL"}, {"server": "BBB","url": "BBB_URL"}, {"server": "CCC","url": "CCC_URL"}, ) clas 阅读全文
posted @ 2019-03-07 13:54 OTAKU_nicole 阅读(1253) 评论(0) 推荐(0) 编辑