def split_addresses ( email_string_list ) : return [ f for f in [ s . strip ( ) for s in email_string_list . split ( "," ) ] if f ]
email strto list python
Converts a string containing comma separated email addresses into a list of email addresses .
def split_addresses(email_string_list):
    """
    Converts a string containing comma separated email addresses
    into a list of email addresses.
    """
    return [f for f in [s.strip() for s in email_string_list.split(",")] if f]