#!/usr/bin/python3.8 import sys from email.header import decode_header, make_header h = make_header(decode_header(sys.argv[1])) print(str(h))