对于不可重复参数,可以用时间戳,防重复import timetitle = '这是我的标题:%s'%str(int(time.time()))print(title)
转化成时间格式
t = time.strftime('%Y_%m_%d_%H_%M_%S')print(t)