code: def log_head(path, log_file, log_time):
      
      with open(path + log_file, "w") as log:
          log.write("#" * 79 + "\n\n")
          log.write("File : " + log_file + "\n")
          log.write("Path : " + path + "\n")
          log.write("Date : " + time.strftime("%d/%m/%Y") + "\n")
          log.write("Time : " + log_time + "\n\n")
          log.write("#" * 79 + "\n\n")
          log.close()
docs: write headers to log file