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/i/l/ilastik-HEAD/ilastik/plugins.py   ilastik(Download)
# these directories are searched for plugins
plugin_paths = cfg.get('ilastik', 'plugin_directories')
plugin_paths = list(os.path.expanduser(d) for d in plugin_paths.split(',')
                    if len(d) > 0)
plugin_paths.append(os.path.join(os.path.split(__file__)[0], "plugins_default"))

src/z/o/Zope2-2.13.22/src/ZPublisher/BaseRequest.py   Zope2(Download)
        if path[-1:]=='/': path=path[:-1]
        clean=[]
        for item in path.split('/'):
            # Make sure that certain things that dont make sense
            # cannot be traversed.

src/n/i/nive-HEAD/nive/components/reform/reformed.py   nive(Download)
 
        if isinstance(value, basestring):
            value = value.split(self.lb)
            if self.remove_empty:
                try:

src/z/o/Zope-HEAD/src/ZPublisher/BaseRequest.py   Zope(Download)
        if path[-1:]=='/': path=path[:-1]
        clean=[]
        for item in path.split('/'):
            # Make sure that certain things that dont make sense
            # cannot be traversed.

src/t/a/taurus-3.2.0/lib/taurus/qt/qtgui/table/taurusgrid.py   taurus(Download)
        #else:
            ##self.debug( 'expressions as string separated by commas ...')
        expressions = expressions.split(',')
 
    elif any(isinstance(expressions,klass) for klass in (QtCore.QStringList,list,tuple,dict)):
        else:
            #self.trace( 'expressions as string separated by commas ...')
            expressions = expressions.split(',')
 
    elif any(isinstance(expressions,klass) for klass in (QtCore.QStringList,list,tuple,dict)):

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/csv.py   TrustRouter(Download)
        """
 
        data = list(filter(None, data.split('\n')))
 
        ascii = [chr(c) for c in range(127)] # 7-bit ASCII

src/a/r/armet-0.4.37/armet/pagination.py   armet(Download)
            continue
 
        specifier = list(map(int, specifier.split('-')))
        if len(specifier) == 2:
            # Range specifier; return as a tuple.

src/a/r/argos-HEAD/argos/core/membrane/extractor.py   argos(Download)
 
        # Split on commas and 'and'.
        names = names.split(',')
        if ' and ' in names[-1]:
            names += names.pop().split(' and ')

src/r/a/raptus.multilanguageurls-1.0a8/raptus/multilanguageurls/patches.py   raptus.multilanguageurls(Download)
    if isinstance(path, str):
        # Unicode paths are not allowed
        path = path.split('/')
    else:
        path = list(path)

src/p/y/python-armet-HEAD/armet/pagination.py   python-armet(Download)
            continue
 
        specifier = list(map(int, specifier.split('-')))
        if len(specifier) == 2:
            # Range specifier; return as a tuple.

Previous  3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11  Next