Same comment as before, you're already importing urllib2. Just import it once.