摘要: https://www.jb51.net/article/208761.htm 阅读全文
posted @ 2022-12-13 10:31 磐正 阅读(30) 评论(0) 推荐(0)
摘要: import re string = '123456789abcdefg' re.findall(r'.{3}', string) ['123', '456', '789', 'abc', 'def'] 阅读全文
posted @ 2022-12-13 09:58 磐正 阅读(27) 评论(0) 推荐(0)