base64.encode()
  • References/Python/Python/Internet Data

base64.encode(input, output) Encode the contents of the binary input file and write the resulting base64 encoded data

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

json.dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, sort_keys=False, **kw)

2025-01-10 15:47:30
email.policy.Policy.fold_binary()
  • References/Python/Python/Internet Data

fold_binary(name, value) The same as fold(), except that the returned value should be a bytes object rather than

2025-01-10 15:47:30
email.policy.Compat32.fold()
  • References/Python/Python/Internet Data

fold(name, value) Headers are folded using the

2025-01-10 15:47:30
email.parser.BytesParser.parse()
  • References/Python/Python/Internet Data

parse(fp, headersonly=False) Read all the data from the binary file-like object fp, parse the resulting bytes, and

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

get_from() Return a string representing the “From ” line that marks the start of the message in an mbox mailbox. The leading

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

binascii.b2a_uu(data) Convert binary data to a line of ASCII characters, the return value is the converted line, including a

2025-01-10 15:47:30
mimetypes.MimeTypes.readfp()
  • References/Python/Python/Internet Data

MimeTypes.readfp(fp, strict=True) Load MIME type information from an open file fp. The file must have the format of

2025-01-10 15:47:30
mimetypes.MimeTypes.guess_extension()
  • References/Python/Python/Internet Data

MimeTypes.guess_extension(type, strict=True) Similar to the guess_extension() function, using the tables stored

2025-01-10 15:47:30
mimetypes.encodings_map
  • References/Python/Python/Internet Data

mimetypes.encodings_map Dictionary mapping filename extensions to encoding types.

2025-01-10 15:47:30