PyDocs

Nav

Internet Data Handling

Mailbox.get_file

mailbox

method of Mailbox (source)
  • Mailbox.get_file(key)
Return a file-like representation or raise a KeyError.
Changed in 3.2
  • 3.2: The file object really is a binary file; previously it was incorrectly returned in text mode. Also, the file-like object now supports the context manager protocol: you can use a with statement to automatically close it.
0 Examples
No examples for mailbox/Mailbox.get_file.
See Also
No see-alsos for mailbox/Mailbox.get_file
0 Notes
No notes for Mailbox.get_file