Did I find the right examples for you? yes no

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

src/c/o/counterpartyd_build-HEAD/setup.py   counterpartyd_build(Download)
 
        ws = win32com.client.Dispatch("wscript.shell")
        scut = ws.CreateShortcut(os.path.join(buf.value, 'run_counterpartyd.lnk'))
        scut.TargetPath = '"c:/Python32/python.exe"'
        scut.Arguments = os.path.join(paths['base_path'], 'run.py') + ' server'
        scut.Save()
        if with_testnet:
            ws = win32com.client.Dispatch("wscript.shell")
            scut = ws.CreateShortcut(os.path.join(buf.value, 'run_counterpartyd_testnet.lnk' % s))