email.utils.formataddr()
  • References/Python/Python/Internet Data

email.utils.formataddr(pair, charset='utf-8') The inverse of parseaddr(), this takes a 2-tuple of the form (realname

2025-01-10 15:47:30
email.generator.Generator.write()
  • References/Python/Python/Internet Data

write(s) Write the string s to the underlying file object, i.e. outfp passed to Generator‘s constructor

2025-01-10 15:47:30
mailbox.Mailbox.discard()
  • References/Python/Python/Internet Data

discard(key) Delete the message corresponding to key from the mailbox. If no such message

2025-01-10 15:47:30
email.policy.EmailPolicy.content_manager
  • References/Python/Python/Internet Data

content_manager An object with at least two methods: get_content and set_content. When the get_content() or

2025-01-10 15:47:30
email.message.Message.set_unixfrom()
  • References/Python/Python/Internet Data

set_unixfrom(unixfrom) Set the message’s envelope header to unixfrom, which should be a string.

2025-01-10 15:47:30
binascii.b2a_hqx()
  • References/Python/Python/Internet Data

binascii.b2a_hqx(data) Perform hexbin4 binary-to-ASCII translation and return the resulting string. The argument should already

2025-01-10 15:47:30
mailbox.mbox.lock()
  • References/Python/Python/Internet Data

lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()

2025-01-10 15:47:30
email.generator.BytesGenerator.flatten()
  • References/Python/Python/Internet Data

flatten(msg, unixfrom=False, linesep=None) Print the textual representation of the message object structure rooted at msg

2025-01-10 15:47:30
base64.b64encode()
  • References/Python/Python/Internet Data

base64.b64encode(s, altchars=None) Encode the bytes-like object s using Base64

2025-01-10 15:47:30
json.JSONDecoder
  • References/Python/Python/Internet Data

class json.JSONDecoder(object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None) Simple

2025-01-10 15:47:30