How do I translate this code into Python?
sahand tarh

I have not a complete code snippet but I think you should take a look to any Python implementation for Telegram Bot API client (like this) and send a message contains reply keyboard like this.

Every client (both python and nodejs) sends a simple http request to Telegram server and it means we just should provide a keyboard as a parameter in such order as it is described in API