Python Wikipedia API поиск
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))
Motionless Macaque
#pip install wikipedia
import wikipedia
question = input("What is your question? ")
print(wikipedia.summary(question))
pip install wikipedia
print(wikipedia.page("Python").content)