2019年11月1日

摘要: import redef build_match_and_apply_functions(pattern, search, replace): def matches_rule(word): return re.search(pattern, word) def apply_rule(word): 阅读全文
posted @ 2019-11-01 11:43 草根寻道 阅读(274) 评论(0) 推荐(0)

2019年4月18日

摘要: import time def show_time(foo): start = time.time() foo() end = time.time() print(end-start) return foo def bar(): for i in range(1,10): for j in rang 阅读全文
posted @ 2019-04-18 13:44 草根寻道 阅读(88) 评论(0) 推荐(0)

导航