摘要:
def strip_str(stripstr,text): ''' 给定的字符串去除特定的字符 :param stripstr: 要去除字段 :param text: 原文 :return: ''' new_str=None if stripstr in text: new_str=text.rep 阅读全文
posted @ 2021-03-25 19:53
long2020
阅读(243)
评论(0)
推荐(0)
摘要:
from functools import wraps def My_decorate(func): @wraps(func) def fn(*args,**kwargs): print('decorate called') return func(*args,**kwargs) return fn 阅读全文
posted @ 2021-03-25 19:41
long2020
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号