摘要:
例如生成07:45-08:30范围的时间 import datetime, random date1 = datetime.datetime(2022, 1, 1, 7, 45, 0) date2 = datetime.datetime(2022, 1, 1, 8, 30, 0) timestamp 阅读全文
摘要:
def convert_to_number(letter, columnA=0): ab = '_ABCDEFGHIJKLMNOPQRSTUVWXYZ' letter0 = letter.upper() w = 0 for _ in letter0: w *= 26 w += ab.find(_) 阅读全文