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?

#Python

gist.github.com/willmcgugan/3a

@willmcgugan I get "ImportError: Package 'textual.widgets' has no class 'Switch'"

Follow

@willmcgugan Just cloned it again – same error. I must be doing something wrong, but I have no idea what.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.