A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/048700.html below:

[Python-checkins] python/dist/src/Tools/msi msi.py, 1.7, 1.8

[Python-Dev] Re: [Python-checkins] python/dist/src/Tools/msi msi.py, 1.7, 1.8Trent Mick trentm at ActiveState.com
Wed Sep 8 18:36:59 CEST 2004
[loewis at users.sourceforge.net wrote]
>...
> 	msi.py 
>...
>      add_data(db, "Verb",
> -            [("py", "open", 1, None, r'-console "%1"'),
> +            [("py", "open", 1, None, r'"%1"'),
>              ("pyw", "open", 1, None, r'"%1"'),
> -            ("pyc", "open", 1, None, r'-console "%1"'),
> -            ("pyo", "open", 1, None, r'-console "%1"')])
> +            ("pyc", "open", 1, None, r'"%1"'),
> +            ("pyo", "open", 1, None, r'"%1"')])
>...

Not sure I am following exactly here, but ActivePython makes the
association:
    <pythonExe> "%1" %*

I don't know if msi.py adds that '%*' later or not. IIRC that allows for
script arguments to be passed as well.

   C:\> foo.py -h blah blah
        |      `--`----`-------- %*
        `--- %1


Trent

-- 
Trent Mick
TrentM at ActiveState.com
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4