后端: message = {} list_f = models.Value_A.objects.all() str_list = "" for data in list_f: str_list = str_list +data.title + "," BASE_DIR = os.path.dirn Read More
posted @ 2022-04-14 10:27 PythonNew_Mr.Wang Views(43) Comments(0) Diggs(0)
def fine_word(text_raw): """ :param text_raw: 文本 :return: 返回中文字符串 """ text = "" regStr = ".*?([\u4E00-\u9FA5]+).*?" re_text = re.findall(regStr, text_ Read More
posted @ 2022-04-14 09:53 PythonNew_Mr.Wang Views(73) Comments(0) Diggs(0)