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

All Samples(174)  |  Call(171)  |  Derive(0)  |  Import(3)

src/w/e/Webapp2-Sample-Applications-HEAD/virtualenv.py   Webapp2-Sample-Applications(Download)
                print('  http://sourceforge.net/projects/pywin32/')
                sys.exit(3)
            home_dir = win32api.GetShortPathName(home_dir)
        lib_dir = join(home_dir, 'Lib')
        inc_dir = join(home_dir, 'Include')

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/win32com/server/register.py   main(Download)
      # If we are frozen, we write "{exe} /Automate", just
      # like "normal" .EXEs do
      exeName = win32api.GetShortPathName(sys.executable)
      command = '%s /Automate' % (exeName,)
    else:
      # Running from .py sources - we need to write
      # 'python.exe win32com\server\localserver.py {clsid}"
      exeName = _find_localserver_exe(1)
      exeName = win32api.GetShortPathName(exeName)
      print >> batf, os.path.splitdrive(cwd)[0]
      print >> batf, 'cd "%s"' % os.getcwd()
      print >> batf, '%s %s > "%s" 2>&1' % (win32api.GetShortPathName(sys.executable), new_params, outfile)
    finally:
      batf.close()

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/win32com/server/register.py   SublimeSpeech(Download)
      # If we are frozen, we write "{exe} /Automate", just
      # like "normal" .EXEs do
      exeName = win32api.GetShortPathName(sys.executable)
      command = '%s /Automate' % (exeName,)
    else:
      # Running from .py sources - we need to write
      # 'python.exe win32com\server\localserver.py {clsid}"
      exeName = _find_localserver_exe(1)
      exeName = win32api.GetShortPathName(exeName)
      print >> batf, os.path.splitdrive(cwd)[0]
      print >> batf, 'cd "%s"' % os.getcwd()
      print >> batf, '%s %s > "%s" 2>&1' % (win32api.GetShortPathName(exe_to_run), new_params, outfile)
    finally:
      batf.close()

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/win32com/server/register.py   SublimeSpeech(Download)
      # If we are frozen, we write "{exe} /Automate", just
      # like "normal" .EXEs do
      exeName = win32api.GetShortPathName(sys.executable)
      command = '%s /Automate' % (exeName,)
    else:
      # Running from .py sources - we need to write
      # 'python.exe win32com\server\localserver.py {clsid}"
      exeName = _find_localserver_exe(1)
      exeName = win32api.GetShortPathName(exeName)
      print >> batf, os.path.splitdrive(cwd)[0]
      print >> batf, 'cd "%s"' % os.getcwd()
      print >> batf, '%s %s > "%s" 2>&1' % (win32api.GetShortPathName(exe_to_run), new_params, outfile)
    finally:
      batf.close()

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py   main(Download)
                    py = os.path.join(sys.prefix, 'PCBuild', 'python.exe')
            try:
                py = win32api.GetShortPathName(py)
            except win32api.error:
                py = ""

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py   TrustRouter(Download)
                    py = os.path.join(sys.prefix, 'PCBuild', 'python.exe')
            try:
                py = win32api.GetShortPathName(py)
            except win32api.error:
                py = ""

src/s/u/SublimeSpeech-HEAD/lib/pywin64bit/pythonwin/pywin/framework/mdi_pychecker.py   SublimeSpeech(Download)
                    py = os.path.join(sys.prefix, 'PCBuild', 'python.exe')
            try:
                py = win32api.GetShortPathName(py)
            except win32api.error:
                py = ""

src/s/u/SublimeSpeech-HEAD/lib/pywin32bit/pythonwin/pywin/framework/mdi_pychecker.py   SublimeSpeech(Download)
                    py = os.path.join(sys.prefix, 'PCBuild', 'python.exe')
            try:
                py = win32api.GetShortPathName(py)
            except win32api.error:
                py = ""

src/e/i/einstein-HEAD/Python25Einstein/Lib/site-packages/pythonwin/pywin/framework/mdi_pychecker.py   einstein(Download)
                    py = os.path.join(sys.prefix, 'PCBuild', 'python.exe')
            try:
                py = win32api.GetShortPathName(py)
            except win32api.error:
                py = ""

src/s/a/sabnzbd-HEAD/SABnzbd.py   sabnzbd(Download)
                    # If unconvertible characters exist, use MSDOS name
                    try:
                        sabnzbd.DIR_APPDATA = win32api.GetShortPathName(sabnzbd.DIR_APPDATA)
                        sabnzbd.DIR_HOME = win32api.GetShortPathName(sabnzbd.DIR_HOME)
                        ok = True
                    except:
                        pass
                sabnzbd.DIR_LCLDATA = sabnzbd.DIR_APPDATA

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next