[Python-Dev] Re: [Python-checkins] python/dist/src/Tools/msi msi.py, 1.7, 1.8 (original) (raw)

Trent Mick trentm at ActiveState.com
Wed Sep 8 18:36:59 CEST 2004


[loewis at users.sourceforge.net wrote]

... msi.py ... adddata(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: "%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