摘要: def get_permute2(nums): ret = [] path = [] def backtracking(nums,usage_list): if len(path) == len(nums): ret.append(path[:]) return for i in range(0,l 阅读全文
posted @ 2023-03-26 17:47 fufu1 阅读(41) 评论(0) 推荐(0)
摘要: #回溯算法 获取字典所有值的键的集合def get_dict_path(data): ret = [] path =[] def traceback(path,data): if len(path)>0 and not isinstance(data, dict): ret.append(path[ 阅读全文
posted @ 2023-03-25 17:19 fufu1 阅读(106) 评论(0) 推荐(0)
摘要: 1.pymongo中引用中文排序 from pymongo .collation import Collation table.find().sort('filed').collation(Collation(locale='zh')) 2 .mongoengine按照中文排序 Table.obje 阅读全文
posted @ 2021-10-27 09:19 fufu1 阅读(132) 评论(0) 推荐(0)
摘要: zzzz this video contains many urls which u need /ppllaayy/xxx https://www.cnblogs.com/fujianguo1024/articles/14044529.html 阅读全文
posted @ 2020-12-21 12:02 fufu1 阅读(160) 评论(0) 推荐(0)
摘要: DjangoBook - 文章分类 - Yuan先生 - 博客园 (cnblogs.com) 11 Django组件-分页器 - Yuan先生 - 博客园 (cnblogs.com) 阅读全文
posted @ 2020-11-26 23:55 fufu1 阅读(34) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-23 17:48 fufu1 阅读(107) 评论(0) 推荐(0)