Miscellaneous Services¶
The modules described in this chapter provide miscellaneous services that are available in all Python versions. Here’s an overview:
formatter
— Generic output formatting- The Formatter Interface
AS_IS
formatter.writer
formatter.end_paragraph()
formatter.add_line_break()
formatter.add_hor_rule()
formatter.add_flowing_data()
formatter.add_literal_data()
formatter.add_label_data()
formatter.flush_softspace()
formatter.push_alignment()
formatter.pop_alignment()
formatter.push_font()
formatter.pop_font()
formatter.push_margin()
formatter.pop_margin()
formatter.push_style()
formatter.pop_style()
formatter.set_spacing()
formatter.assert_line_data()
- Formatter Implementations
- The Writer Interface
- Writer Implementations
- The Formatter Interface