code: def parseaddr(addr):
      """
      Parse addr into its constituent realname and email address parts.
  
      Return a tuple of realname and email address, unless the parse fails, in
      which case return a 2-tuple of ('', '').
      """
      addrs = _AddressList(addr).addresslist
      if not addrs:
          return "", ""
      return addrs[0]
  
imports: import os
  import re
  import time
  import base64
  import random
  import socket
  import urllib
  import warnings
  from email._parseaddr import quote
  from email._parseaddr import AddressList
  from email._parseaddr import mktime_tz
  from email._parseaddr import parsedate
  from email._parseaddr import parsedate_tz
  from quopri import decodestring
  from email.encoders import _bencode, _qencode
label_desc: Use image node_id 10 for calling a global function with example usage: parseaddr(addr) and returns: addrs, str,  str