ZhangZhihui's Blog  

2022年3月7日

摘要: >>> import glob >>> glob.glob('*', recursive=True) ['a.txt', 'bbb'] >>> glob.glob('**', recursive=True) ['a.txt', 'bbb', 'bbb\\b.txt', 'bbb\\ccc', 'bb 阅读全文
posted @ 2022-03-07 11:30 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0) 编辑
 
摘要: You can translate this fragment into Python by arranging the choices and functions into a dictionary: actions = {0: make_computer_move, 1: make_human_ 阅读全文
posted @ 2022-03-07 09:54 ZhangZhihuiAAA 阅读(37) 评论(0) 推荐(0) 编辑