The Python Papers

The Python Papers

Textual - How to Log to Both the Console and a File

Mike Driscoll's avatar
Mike Driscoll
Jan 13, 2026
∙ Paid

Textual is a wonderful Python package that allows you to create a text-based user interface (TUI) in your terminal. You may have read about Textual several times in this newsletter.

When you are debugging Textual applications, you can log or print to something called the Textual console. You run this console in a separate terminal and then run your Textu…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2026 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture