Z
Z
zenondd2020-04-21 08:48:25
Python
zenondd, 2020-04-21 08:48:25

How to write a telegram bot with a product catalog (python)?

Good afternoon! I write bots not so long ago, so I want to ask for advice. I have a product catalog in the form of an excel spreadsheet (1000+ rows). I want to write a bot that would be visited by clients, and the bot would provide information on existing positions, having learned from the user in advance what criteria to display the list by. For example, the user sequentially selects from the proposed options: auto -> brand -> broken -> painted, and the bot displays all the lines that match these parameters. I just ask you to give a direction in which to try to implement the plan.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Monarch88, 2020-04-22
@zenondd

pandas library to help you

B
bittenmuskrat, 2020-04-21
@bittenmuskrat

Learn:
1) Dictionaries
2) Branching: If - else

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question