O
O
Oleg Pariyev2020-01-19 19:31:57
Python
Oleg Pariyev, 2020-01-19 19:31:57

How to display the number of values ​​in the window on the button?

Good day!
Tell me, please, is it possible to display the number of values ​​in the database on the button. That is, to do something like notifications.
The task is as follows: upon expiration in the database, one value changes to another, then a check for this value begins and the number of such values ​​is counted. Then a number indicating the number of these values ​​should be displayed in the field of the button itself. If possible, please send a link with a tutorial.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AiGo, 2020-01-22
@AiGo

You can add a value to list and then use len to display the number

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question