摘要: 多个个月前 arrow.get(end_time_str, 'YYYY-MM-DD HH:mm:ss').shift(months=-6).format('YYYY-MM-DD HH:mm:ss') 获取几小时之前,几分钟前,几天前,几个月前,及几年前的具体时间 import datetime im 阅读全文
posted @ 2023-03-29 16:25 Alive_2020 阅读(9) 评论(0) 推荐(0) 编辑
摘要: def test(a, b, c=1): like = 111 ccc = 222 def inner(args): x = 11 return return inner # print(test.__code__.co_argcount) # 获取指定函数的参数个数 # print(test.__ 阅读全文
posted @ 2023-03-29 13:20 Alive_2020 阅读(9) 评论(0) 推荐(0) 编辑