You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I try another word, like apple. But the result is wrong:
search_params {'list': 'search', 'srprop': '', 'srlimit': 1, 'limit': 1, 'srsearch': 'apple', 'srinfo': 'suggestion'}
In mathematics and computer science, apply is a function that applies a function to arguments.
ifauto_suggest:
results, suggestion=search(title, results=1, suggestion=True)
try:
title=suggestionorresults[0]
exceptIndexError:
# if there is no suggestion or search results, the page doesn't existraisePageError(title)
I just try:
import wikipedia
print(wikipedia.summary("google", sentences=1))
but i got the follow error:
raise PageError(self.title)
wikipedia.exceptions.PageError: Page id "google" does not match any pages. Try another id!
What should i do?
The text was updated successfully, but these errors were encountered: