This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • The Python Standard Library »
  • 34. Miscellaneous Services

34. Miscellaneous Services¶

The modules described in this chapter provide miscellaneous services that are available in all Python versions. Here’s an overview:

  • 34.1. formatter — Generic output formatting
    • 34.1.1. 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()
    • 34.1.2. Formatter Implementations
      • NullFormatter
      • AbstractFormatter
    • 34.1.3. The Writer Interface
      • writer.flush()
      • writer.new_alignment()
      • writer.new_font()
      • writer.new_margin()
      • writer.new_spacing()
      • writer.new_styles()
      • writer.send_line_break()
      • writer.send_paragraph()
      • writer.send_hor_rule()
      • writer.send_flowing_data()
      • writer.send_literal_data()
      • writer.send_label_data()
    • 34.1.4. Writer Implementations
      • NullWriter
      • AbstractWriter
      • DumbWriter

Previous topic

33. Python compiler package

Next topic

34.1. formatter — Generic output formatting

This Page

  • Show Source

Quick search

«

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • Python 2.7.18 documentation »
  • The Python Standard Library »
  • 34. Miscellaneous Services
© Copyright 1990-2023, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Sep 12, 2023. Found a bug?
Created using Sphinx 7.2.5.