What blows me away about this example, is that #Textual is an async framework. Scratch the surface and there is async and await to the core.
But look at this code. It's a fully working Textual app, but can you see an await anywhere?
https://gist.github.com/willmcgugan/3ade56598beec8d8ce820ee216d68eaa
@willmcgugan I get "ImportError: Package 'textual.widgets' has no class 'Switch'"
@szescstopni What happens if you do the following?
from textual import __version__
print(__version__)
@willmcgugan 0.10.1
@willmcgugan Thanks. It works now. Things are changing quickly. I only installed it a couple of days ago :)