-
I would like to create a Terminal UI using Textual for my scripts, for example How to pass value from yield Input() then use Button invoke my scripts?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
By the sounds of things you want to be looking either (or both, depending on how you want to do things) the |
Beta Was this translation helpful? Give feedback.
-
I didn't find example about event calling another python script. |
Beta Was this translation helpful? Give feedback.
By the sounds of things you want to be looking either (or both, depending on how you want to do things) the
Input.Submitted
message and theButton.Pressed
message. If you are unfamiliar with how events and messages work there's a good guide to that, and of course they are introduced in the tutorial.