Answer the question
In order to leave comments, you need to log in
How to work with the Wikipedia module in vkapi python (receiving a request and issuing an article to the user/bot)?
It is necessary that when you click on the button, the bot in VK somehow requests a request and looks for it in the wiki. I use vkapi and the wikipedia module. The piece of code I want to use is in these lines:
search = input('Somthing: ')
print(wikipedia.summary(search, sentences=2))
I don't know how to implement it with vkapi.
https://pastebin.com/3c7uz3hM
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question