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

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

src/g/e/GeoBasesDev-6.0.0a24/GeoBaseMain.py   GeoBasesDev(Download)
def guess_headers(row, delimiter):
    """Heuristic to guess the lat/lng fields from first row.
    """
    if delimiter:
        row = row.split(delimiter)
 
    if delimiter:
        row = row.split(delimiter)
    else:
        row = list(row)

src/a/p/apex-0.9.10dev/apex/lib/libapex.py   apex(Download)
    providers = apex_settings('velruse_providers', None)
    if providers:
        providers = list(set([x.strip() for x in providers.split(',')]) - \
            exclude)
        for provider in providers:

src/a/p/apex-HEAD/apex/lib/libapex.py   apex(Download)
    providers = apex_settings('velruse_providers', None)
    if providers:
        providers = list(set([x.strip() for x in providers.split(',')]) - \
            exclude)
        for provider in providers:

src/e/v/eval2-HEAD/scripts/haski/fields.py   eval2(Download)
        ending of all strings."""
        if isinstance(self._field, str):
            parts = self._field.split(',')
            self._field = parts
        for i in range(len(self._field)):

src/t/a/taiga-back-HEAD/taiga/base/filters.py   taiga-back(Download)
    def _get_tags_queryparams(self, params):
        tags = params.get(self.filter_name, [])
        if tags:
            tags = list({tag.strip() for tag in tags.split(",")})
        return tags

src/s/t/states-HEAD/states/_modules/linux_netstat.py   states(Download)
        prefix, list = sections[0], sections[1].strip()
        stats.setdefault(prefix, {})
        items = list.split(' ')
        if currently_in_header_line:
            headers = items

src/m/a/mailtools-2.1/mailtools/mailer.py   mailtools(Download)
 
        if isinstance(to_addrs, basestring):
            to_addrs = to_addrs.split(',')
        to_addrs = list(to_addrs)
 

src/p/y/pyethereum-0.0.2/pyethereum/packeter.py   pyethereum(Download)
        data = [self.cmd_map_by_name['Peers']]
        for ip, port, pid in peers:
            ip = list((chr(int(x)) for x in ip.split('.')))
            data.append([ip, port, pid])
        return self.dump_packet(data)

src/b/u/bucky-2.0.0/bucky/names.py   bucky(Download)
    __host_trim__ = []
    for s in host_trim:
        s = list(reversed([p.strip() for p in s.split(".")]))
        __host_trim__.append(s)
    return __host_trim__

src/d/j/django-image-cropping-0.8.2/image_cropping/thumbnail_processors.py   django-image-cropping(Download)
        # convert cropping string to a list of integers if necessary
        try:
            box = list(map(int, box.split(',')))
        except ValueError:
            # there's garbage in the cropping field, ignore

Previous  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15  Next