INSTRUCTIONS
First, Please install python and the following packages
- urllib
- urllib2
- json
- re
- pyenchant
- csv (come in default I think)
- sys (come in default I think)
Second, in the command line, please change directory (the cd command) to the folder where you put ‘homework.py’ on your local drive
Thrid, the way to call the program
-
python homework.py "yourlink", for example: python homework.py "https://en.wikipedia.org/wiki/Bidhya_Devi_Bhandari"
-
It will save the results in 'output.csv' in your local directory. If you want to specify a name for the output, just add the name after the links. For example: python homework.py "https://en.wikipedia.org/wiki/Bidhya_Devi_Bhandari||https://en.wikipedia.org/wiki/Anne_Hathaway_(Shakespeare%27s_wife)" output2.csv
Please note that, multiple links must be ‘||’ separated, and don't forget the quote before and after links.
Please contact peiyun.stats@gmail.com for details