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

All Samples(9)  |  Call(8)  |  Derive(0)  |  Import(1)

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
                    args += u' '.join([u'%s' % arg for arg in self.exeArgs])

src/d/a/datahaven-rev8661/datahaven/lib/dhnio.py   datahaven(Download)
    try:
        import win32api
        lpath = win32api.GetLongPathName(path_)
        return unicode(lpath)
    except:

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/isapi/install.py   main(Download)
        # started)
        try:
            conf_module_name = win32api.GetLongPathName(conf_module_name)
        except win32api.error, exc:
            log(2, "Couldn't determine the long name for %r: %s" %

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/isapi/install.py   TrustRouter(Download)
        # started)
        try:
            conf_module_name = win32api.GetLongPathName(conf_module_name)
        except win32api.error as exc:
            log(2, "Couldn't determine the long name for %r: %s" %

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/isapi/install.py   SublimeSpeech(Download)
        # started)
        try:
            conf_module_name = win32api.GetLongPathName(conf_module_name)
        except win32api.error, exc:
            log(2, "Couldn't determine the long name for %r: %s" %

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/isapi/install.py   SublimeSpeech(Download)
        # started)
        try:
            conf_module_name = win32api.GetLongPathName(conf_module_name)
        except win32api.error, exc:
            log(2, "Couldn't determine the long name for %r: %s" %

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/isapi/install.py   einstein(Download)
        # started)
        try:
            conf_module_name = win32api.GetLongPathName(conf_module_name)
        except win32api.error, exc:
            log(2, "Couldn't determine the long name for %r: %s" %

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