Using Tor with Python

Using tor with python’s urllib2 is pretty easy, you just need to setup a few things before hand. First off what is tor? Tor stands for " The Onion Router " and allows you to anonymously browse the internet by bouncing your request through multiple tor nodes. I’m going to be using a Fedora 17 machine to demonstrate, and show output. First lets install two packages from our package manager: