fork(1) download
  1. from email import parser
  2. txt = """
  3. From: Bob
  4. Sent: Thursday
  5. To: Jack
  6. Cc: Mary, Zaphod,
  7. Janice, Trillian
  8. Subject: Restaurant at the End of the Universe
  9.  
  10. I can't seem to find this on the map, any help?
  11. Is it on I-95?
  12. """
  13. msg = parser.Parser().parsestr(txt)
  14. print(msg.values())
Success #stdin #stdout 0.05s 13120KB
stdin
Standard input is empty
stdout
[]