Skip to main content

Posts

Showing posts with the label fetch content

Fetch Wikipedia Contents Using Python Code

  Wikipedia is known for its vast area of contents which everyone can share easily. It is something like an online free encyclopedia and the contents in Wikipedia can be edited by anyone around the world. This article focuses on extracting Wikipedia contents of any personality or about anything using simple Python Programming. module wikipedia      Python has many modules that are flexible to use in real-world applications. To extract Wikipedia contents, python has a module called "wikipedia". This module helps to fetch content from Wikipedia and to display result in your console screen. Installing Module      The module can be installed by using,                pip install wikipedia Fetching Content       The contents can be fetched by importing the module "wikipedia" and using the function summary( ).                import wikipedia  ...