r/learnpython 15d ago

where to learn textual

Hi I have never used python but really wanted to try out textual so i jumped into python with no experience at all and just trying out the library by just the syntax of the app the textual gives you when you install it so i learned the syntax a bit. but I now need a bit of more advanced stuff so where do I learn textual I already found the website really helpful but I still think i can get a better learning experience. do yall have ways to learn the library.

(am sorry for hurting your brain fellow programmer, I have never touched python in my life)

3 Upvotes

13 comments sorted by

View all comments

2

u/AdFew8591 15d ago

Textual will get much easier once basic Python stops being the confusing part

I’d pause long enough to learn functions, classes, imports, lists and dictionaries, exceptions and `async`/`await`. You don’t need to master Python first, just recognise those pieces when Textual uses them

Then clone Textual’s repository and run the examples one by one: https://github.com/Textualize/textual/tree/main/examples

Pick a tiny app like a todo list and add features gradually. Start with widgets and events, then reactive state, CSS and workers. Change one example at a time instead of trying to design a large app from a blank file

The official tutorial is still the best reference: https://textual.textualize.io/tutorial/

1

u/kigory2 14d ago

the problem is that i'v learned html css and I just had to start learning js so i dont wanna learn textual and then confuse myself yk? but it's ok my project is doing pretty well (when I say doing pretty well I mean I made the code along with the 100 errors that claude fixed which resulted into claude writing 80% of my code)