How to handle missing coordinates for page in wikipedia python API
How to handle missing coordinates for a page in the Wikipedia Python API Question: I try to display page coordinates. However, some pages do not have coordinates and the API then acts funny. For: from wikipedia import wikipedia, DisambiguationError try: page = wikipedia.page("West Side Highway") except DisambiguationError as exception: page = wikipedia.page(exception.options[0], auto_suggest=False) when I …