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/b/a/baruwa-2.0.1/baruwa/lib/directory.py   baruwa(Download)
        dict.__init__(self)
        if hasattr(attributes, 'split'):
            attributes = attributes.split(',')
        elif hasattr(attributes, '__iter__'):
            attributes = list(attributes)

src/p/y/pyhwp-HEAD/tools/egg.path/egg_path.py   pyhwp(Download)
 
        eggs = options['eggs']
        eggs = eggs.split('\n')
        eggs = list(egg.strip() for egg in eggs)
        for egg in eggs:

src/e/v/evennia-HEAD/src/commands/command.py   evennia(Download)
        try:
            mcs.aliases = [str(alias).strip().lower()
                          for alias in mcs.aliases.split(',')]
        except Exception:
            mcs.aliases = []

src/z/i/zine-HEAD/zine/plugins/legacy_apis/__init__.py   zine(Download)
        post.bind_tags(keywords)
    elif isinstance(keywords, basestring):
        keywords = list(x.strip() for x in keywords.split(','))
        post.bind_tags(filter(None, keywords))
 

src/t/e/tek-1.1.6/tek/config/options.py   tek(Download)
    def set(self, value):
        if isinstance(value, str):
            value = value.split(self._splitchar)
        if self._element_type is not None:
            value = list(map(self._element_type, value))

src/w/h/WHIPS-1.2.3/process_sat/whips.py   WHIPS(Download)
                            outParms[attr].append([])
                        else:
                            outParms[attr].append(list.split(','))
                except AttributeError:
                    outParms[attr] = [getattr(gnomespice, attr)[el] for \
                            parserParms[attr].append([])
                        else:
                            parserParms[attr].append(list.split(','))
                except AttributeError:
                    unitParms = unitParms + formerrmsg(attr, \

src/b/a/baruwa2-HEAD/baruwa/lib/directory.py   baruwa2(Download)
        dict.__init__(self)
        if hasattr(attributes, 'split'):
            attributes = attributes.split(',')
        elif hasattr(attributes, '__iter__'):
            attributes = list(attributes)

src/p/y/pyggs-HEAD/libs/versioning.py   pyggs(Download)
    def __init__(self, v):
        if isinstance(v, str):
            # convert string to list
            v = [int(i) for i in v.split(".")]
        else:

src/o/b/obspy-HEAD/obspy/fdsn/client.py   obspy(Download)
        url = self._build_url(service, "version")
        version = self._download(url, return_string=True)
        version = list(map(int, version.split(b".")))
 
        # Store in cache.

src/p/y/python-stdnet-HEAD/stdnet/backends/__init__.py   python-stdnet(Download)
        address = address or ':'
        if not isinstance(address, (list, tuple)):
            address = address.split(':')
        else:
            address = list(address)

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