textual.events.Print class ¶ def __init__(self, text, stderr=False): Bases: Event Sent to a widget that is capturing print. Bubbles Verbose Parameters Parameter Default Description text str required Text that was printed. stderr bool False True if the print was to stderr, or False for stdout. Note Python's print output can be captured with App.begin_capture_print. stderr instance-attribute ¶ stderr = stderr True if the print was to stderr, or False for stdout. text instance-attribute ¶ text = text The text that was printed.