code: def add_date(log):
      '''Userful for randomizing the name of a log'''
      return '{base} - {time}.log'.format(
  			base=os.path.splitext(log)[0],
  			time=strftime("%a, %d %b %Y %H-%M-%S", gmtime())f add_date(log):
      '''Userful for randomizing the name of a log'''
      return '{base} - {time}.log'.format(
  			base=os.path.splitext(log)[0],
  			time=strftime("%a, %d %b %Y %H-%M-%S", gmtime()))
docs: Userful for randomizing the name of a log