Categories
Uncategorized

Get Links From All Files – Python

I have a bunch of files containing wikipedia urls in different folders, and I want to walk through them and copy these into one single file per folder. This is the script. I don’t think it’s that great, but it does work. Then, to run it, all you need to do is this

Categories
Uncategorized

Coding and Decoding urls – Python

Url addresses can’t have special characters, so some of these are encoded. An example would be a url that contains spaces, such as Which then gets encoded to More on url encoding here: http://www.w3schools.com/tags/ref_urlencode.asp What this means is that if we want to have a list of addresses which have url, you may end up […]