It seems your urllib.py is compiled for wrong python version. Putting away how it was achieved, as urrlib is normal python file, try removing urllib.pyc
from Python/lib
folder, and see if it helps.
UPDATE
Putting away was wrong. It got to my mind that Sublime Text 2, althrough entirely not used in your snippet, is working under Python 2 (in fact python 2.6), and its windows package contains compiled urllib within. So it is pretty evident that urllib from Sublime is being imported.
So right course of actions will be migrate to Sublime Text 3 (beta). Other option might've been downgrading to python 2.6, but judging from python and windows versions, it seems you'll choose to upgrade.