網際網路資料處理¶
本章描述了支援網際網路上處理常用資料格式的模組。
email--- 郵件和 MIME 處理套件email.message:表示電子郵件訊息email.parser:剖析電子郵件訊息email.generator:產生 MIME 文件email.policy: Policy Objectsemail.errors:例外和缺陷類別email.headerregistry:自訂標頭物件email.contentmanager:管理 MIME 內容email:範例email.message.Message: Representing an email message using thecompat32APIemail.mime:從頭開始建立電子郵件和 MIME 物件email.header:國際化標頭email.charset:字元集合的表示email.encoders:編碼器email.utils:雜項工具email.iterators:疊代器
json--- JSON 編碼器與解碼器mailbox--- 以各種格式操作郵件信箱mimetypes--- 將檔案名稱對映到 MIME 類型base64--- Base16、Base32、Base64、Base85 資料編碼binascii--- 在二進位制和 ASCII 之間轉換quopri--- 編碼和解碼 MIME 可列印字元資料