Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/i/m/imgur-python-HEAD/Imgur/Imgur.py   imgur-python(Download)
    from urllib2 import HTTPError
 
from .Auth.Expired import Expired
 
class Imgur:
        except HTTPError as e:
            if e.code == 403:
                raise Expired()
            else:
                print("Error %d\n%s\n" % (e.code, e.read()))