DEV Community

Choon-Siang Lai
Choon-Siang Lai

Posted on • Originally published at cslai.coolsilon.com on

Learning asyncio by redoing my messaging bot

I used to develop a bot, partly for work, that fetches current latest petrol retail price in Malaysia. The bot was really an experiment, but at the time it worked well. Then a few years later, out of boredom, I revisited the project after finding the telegram bot library is moving towards asyncio. It was great (at least a lot of people rave about it), but also at the same time intimidating, I learned about coroutines and used gevent in the past, but not asyncio itself.

(more…)

Top comments (0)