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

All Samples(286)  |  Call(286)  |  Derive(0)  |  Import(0)

src/p/e/pexpect-HEAD/examples/topip.py   pexpect(Download)
 
    # remove a few common, uninteresting addresses from the dictionary.
    ip_list = dict([ (key,value) for key,value in list(ip_list.items()) if '192.168.' not in key])
    ip_list = dict([ (key,value) for key,value in list(ip_list.items()) if '127.0.0.1' not in key])
 
    # sort dict by value (count)
    #ip_list = sorted(ip_list.iteritems(),lambda x,y:cmp(x[1], y[1]),reverse=True)
    ip_list = list(ip_list.items())

src/p/e/pexpect-3.2/examples/topip.py   pexpect(Download)
 
    # remove a few common, uninteresting addresses from the dictionary.
    ip_list = dict([ (key,value) for key,value in ip_list.items() if '192.168.' not in key])
    ip_list = dict([ (key,value) for key,value in ip_list.items() if '127.0.0.1' not in key])
 
    ip_list = list(ip_list.items())

src/w/e/webapp2_example-HEAD/lib/webob/response.py   webapp2_example(Download)
    def _headerlist__set(self, value):
        self._headers = None
        if not isinstance(value, list):
            if hasattr(value, 'items'):
                value = value.items()

src/a/s/astropy-0.3.1/astropy/io/votable/validator/result.py   astropy(Download)
                    exception_set[exc].append(x)
 
    warning_set = list(warning_set.items())
    warning_set.sort()
    exception_set = list(exception_set.items())

src/a/p/appscale-HEAD/AppServer/lib/cherrypy/cherrypy/wsgiserver/wsgiserver3.py   appscale(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

src/a/p/appscale-HEAD/AppServer/lib/cherrypy/cherrypy/wsgiserver/wsgiserver2.py   appscale(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

src/g/o/google-app-engine-HEAD/lib/cherrypy/cherrypy/wsgiserver/wsgiserver3.py   google-app-engine(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

src/g/o/google-app-engine-HEAD/lib/cherrypy/cherrypy/wsgiserver/wsgiserver2.py   google-app-engine(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

src/g/o/googleappengine-python-HEAD/lib/cherrypy/cherrypy/wsgiserver/wsgiserver3.py   googleappengine-python(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

src/g/o/googleappengine-python-HEAD/lib/cherrypy/cherrypy/wsgiserver/wsgiserver2.py   googleappengine-python(Download)
    def __init__(self, apps):
        try:
            apps = list(apps.items())
        except AttributeError:
            pass

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next