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

All Samples(9)  |  Call(7)  |  Derive(0)  |  Import(2)

src/c/o/collective.zopeedit-1.0.0/collective/zopeedit/zopeedit.py   collective.zopeedit(Download)
            from _winreg import HKEY_CLASSES_ROOT, OpenKeyEx, \
                                QueryValueEx, EnumKey
            from win32api import FindExecutable, ExpandEnvironmentStrings
 
            # Find editor application based on mime type and extension
            if editor is None:
                try:
                    nil, editor = FindExecutable(self.content_file, '')
                    logger.debug('Executable for %r is: %r. ',
                                 self.content_file, editor)

src/w/r/wrye-bash-HEAD/Mopy/bash/basher.py   wrye-bash(Download)
 
                    import win32api
                    r, executable = win32api.FindExecutable(self.exePath.s)
                    executable = win32api.GetLongPathName(executable)
                    args = u'"%s"' % self.exePath.s

src/g/r/grepath-0.0.2/grepath.py   grepath(Download)
    """
    try:
        _, executable = FindExecutable(path)
        return bool(samefile(GetLongPathName(executable), path))
    except error:
try:
    #XXX replace with ctypes?
    from win32api import FindExecutable, GetLongPathName, error
    is_executable = is_executable_win
except ImportError, e:

src/m/a/MakerDroid-HEAD/assetsrc/pycam.mp3/src/pycam/Utils/__init__.py   MakerDroid(Download)
    try:
        import win32api
        location = win32api.FindExecutable(key)[1]
        if location:
            return location

src/s/r/srllib-0.5.6/srllib/util.py   srllib(Download)
        except ImportError: pass
        else:
            try: exepath = win32api.FindExecutable(executable)[1]
            except pywintypes.error: raise NotFound(executable)
            return exepath

src/p/y/pykaraoke-HEAD/setup.py   pykaraoke(Download)
                try:
                    import win32api
                    self.makensis = win32api.FindExecutable('makensis')
                except:
                    # Default path for makensis.  This is where it gets

src/p/y/pycam-HEAD/pycam/Utils/locations.py   pycam(Download)
    try:
        import win32api
        location = win32api.FindExecutable(key)[1]
        if location:
            return location