Made a compatible mechanism to use the urllib that work in both 2 and 3 versions of python: http://freepythontips.wordpress.com/2013/07/30/make-your-programs-compatible-with-python-2-and-3-at-the-same-time/