Skip to content

Files

Latest commit

 

History

History

Wikipedia Data Extractor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

To Run This Wikipedia Extractor Code Using Python

You need to install 'wikipedia' library using pip

Steps to Install 'wikipedia'

First create virtual env in your IDE and set it by using given commands

macOS
python3 -m venv .venv
source .venv/bin/activate
Linux
sudo apt-get install python3-venv    #If needed
python3 -m venv .venv
source .venv/bin/activate
Windows
py -3 -m venv .venv
.venv\scripts\activate

use this command in your virtual env to install wikipedia

pip install wikipedia

Now you can run this in your IDE

You can change "language = jp" to another language you wish to translate to as well.