10 2021 档案
摘要:import re import time import os.path work_dir = os.getcwd() + '\\' file_time = time.strftime("%y%m%d%H%M%S") file_name = "" terminal_words = "" freque
阅读全文
摘要:import re s = r'^(?P<path>(?:[a-zA-Z]:)?\\(?:[^\\\?\/\*\|<>:"]+\\)+)(?P<filename>(?P<name>[^\\\?\/\*\|<>:"]+?)\.(?P<ext>[^.\\\?\/\*\|<>:"]+))$' file_d
阅读全文
摘要:lst1 = [1, 5, 6, 78, 95, 34, 56, 51, 5, 25, 55, 4, 5, 45, 25, 44, 54, 4] def bubble_sort(lst): """ 冒泡排序 :param lst: input list; :return: sorted list;
阅读全文
摘要:# print star_tower func; def star_tower(char="*", num=7): """ Based on observations of the model, n = floors: * # 12 - [2*n-2*i]=12 and 1 * [2*i-1]=1
阅读全文

浙公网安备 33010602011771号