Skip to content

formatting

This module provides the base class for Formatter objects.

BlankFormatter #

Formatters implement the render method called by any stepper to print the progress of the solver to the screen by any means.

render(sudoku, considered_tiles=None, considered_options=None, affected_tiles=None, affected_options=None, solving_step=0, solving_message=None) abstractmethod #

Print the Sudoku to the screen by the mean of your desire

DeadFormatter #

Bases: BlankFormatter

Trivial formatter to raise an error when its render method is called. Such objects serve as default value for variables that take an object of type BlankFormatter as value.

FormatterMissingError #

Bases: NotImplementedError

No formatter has been assigned to the stepper.