Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 821 Bytes

File metadata and controls

52 lines (29 loc) · 821 Bytes

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.