A
A
Alexey2021-01-13 11:25:35
Python
Alexey, 2021-01-13 11:25:35

Python telebot how to enter 00:00 format time in one line?

The idea is this -
1. The bot asks for what time to put the alert.
2. A person writes the time in the format 00:00, let's say 6:00.
In what way can this be implemented?

So far, only two requests have turned out
1. hour
2. minutes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wispik, 2021-01-13
@resolut1123

message.split(':')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question