python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Textual (Python TUI) - Enabling long-running, external asyncio functionality
Textual is considered as a front-end to consume events (e.g., using Redis' PUBSUB to consume and show incoming events and data).
Below is generic code attempting a background async task to run indefin...

GG_Python
Votes: 0
Answers: 1
How to use custom log handler in pytest
I would like to use rich.logging.RichHandler from the rich library to handle all captured logs in pytest.
Say I have two files,
# library.py
import logging
logger = logging.getLogger(__name__)
logger...
rolly
Votes: 0
Answers: 1
Why can't Python rich print text styles, only colors, on Windows command line?
The problem is that I can't print any text style.
This is my code, and I don't think it's faulty:
from rich.console import Console
console = Console(highlight=False)
console.print("Test print&q...
Oxunum
Votes: 0
Answers: 1
Textual (python) - how to add click event in simple Text object?
I'm trying to get it so I can add links in text rendered by Textual.
My text may have multiple links, for example:
Hello [@click=hello]World[/] there, how are you?
This is a test of [@click=more] more...
Brad Parks
Votes: 0
Answers: 2