PyDocs

Nav

Internet Data Handling

Parser

  • Parser(_class=None, *, policy=policy.compat32)
This class is parallel to BytesParser, but handles string input.
Changed in 3.3, 3.6
  • 3.3: Removed the strict argument. Added the policy keyword.
  • 3.6: _class defaults to the policy message_factory.
Members of Parser

p

parse
Create a message structure from the data in a file.
parsestr
Create a message structure from a string.
0 Examples
No examples for email.parser/Parser.
See Also
No see-alsos for email.parser/Parser
0 Notes
No notes for Parser