網際網路資料處理¶
本章描述了支援網際網路上處理常用資料格式的模組。
email--- An email and MIME handling packageemail.message: Representing an email messageemail.parser: Parsing email messagesemail.generator: Generating MIME documentsemail.policy: Policy Objectsemail.errors: Exception and Defect classesemail.headerregistry: Custom Header Objectsemail.contentmanager: Managing MIME Contentemail: Examplesemail.message.Message: Representing an email message using thecompat32APIemail.mime: Creating email and MIME objects from scratchemail.header: Internationalized headersemail.charset: Representing character setsemail.encoders: Encodersemail.utils: Miscellaneous utilitiesemail.iterators: Iterators
json--- JSON encoder and decodermailbox--- Manipulate mailboxes in various formatsmimetypes--- Map filenames to MIME typesbase64—— Base16、Base32、Base64、Base85 資料編碼binascii--- Convert between binary and ASCIIquopri--- 編碼和解碼 MIME 可列印字元資料