Did I find the right examples for you? yes no

All Samples(11)  |  Call(7)  |  Derive(0)  |  Import(4)

src/m/e/mercurial-2.9.1/mercurial/dispatch.py   Mercurial(Download)
                replace['0'] = self.name
                replace['@'] = ' '.join(args)
                cmd = util.interpolate(r'\$', replace, cmd, escape_prefix=True)
                return util.system(cmd, environ=env, out=ui.fout)
            self.fn = fn

src/h/g/hg-HEAD/mercurial/dispatch.py   hg(Download)
                replace['0'] = self.name
                replace['@'] = ' '.join(args)
                cmd = util.interpolate(r'\$', replace, cmd, escape_prefix=True)
                return util.system(cmd, environ=env, out=ui.fout)
            self.fn = fn

src/h/g/hg-HEAD/mercurial/filemerge.py   hg(Download)
            out, a = a, back # read input from backup, write to original
        replace = {'local': a, 'base': b, 'other': c, 'output': out}
        args = util.interpolate(r'\$', replace, args,
                                lambda s: util.shellquote(util.localpath(s)))
        r = util.system(toolpath + ' ' + args, cwd=repo.root, environ=env,

src/m/e/mercurial-2.9.1/mercurial/filemerge.py   Mercurial(Download)
            out, a = a, back # read input from backup, write to original
        replace = dict(local=a, base=b, other=c, output=out)
        args = util.interpolate(r'\$', replace, args,
                                lambda s: util.shellquote(util.localpath(s)))
        r = util.system(toolpath + ' ' + args, cwd=repo.root, environ=env,

src/s/y/sympy-HEAD/sympy/plotting/pygletplot/color_scheme.py   sympy(Download)
from __future__ import print_function, division
 
from sympy import Basic, Symbol, symbols, lambdify
from util import interpolate, rinterpolate, create_bounds, update_bounds
from sympy.core.compatibility import xrange
    def _interpolate_axis(self, axis, v):
        i = self._find_interval(v)
        v = rinterpolate(self.intervals[i - 1], self.intervals[i], v)
        return interpolate(self.colors[i - 1][axis], self.colors[i][axis], v)
 

src/s/y/sympy-0.7.5/sympy/plotting/pygletplot/color_scheme.py   sympy(Download)
from __future__ import print_function, division
 
from sympy import Basic, Symbol, symbols, lambdify
from util import interpolate, rinterpolate, create_bounds, update_bounds
from sympy.core.compatibility import xrange
    def _interpolate_axis(self, axis, v):
        i = self._find_interval(v)
        v = rinterpolate(self.intervals[i - 1], self.intervals[i], v)
        return interpolate(self.colors[i - 1][axis], self.colors[i][axis], v)
 

src/s/y/sympy-polys-HEAD/sympy/plotting/color_scheme.py   sympy-polys(Download)
from sympy import Basic, Symbol, symbols, lambdify
from util import interpolate, rinterpolate, create_bounds, update_bounds
 
class ColorGradient(object):
    colors = [0.4,0.4,0.4], [0.9,0.9,0.9]
    def _interpolate_axis(self, axis, v):
        i = self._find_interval(v)
        v = rinterpolate(self.intervals[i-1], self.intervals[i], v)
        return interpolate(self.colors[i-1][axis], self.colors[i][axis], v)
 

src/g/e/geoscript-py-HEAD/geoscript/util/__init__.py   geoscript-py(Download)
from util import toURL, toFile, deprecated, interpolate, catch
from util import toOutputStream, doOutput, toInputStream, doInput 
from util import dateToStr, strToDate
from seqdict import seqdict