Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98950
| From | Glenn Linderman <v+python@g.nevcal.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Launcher, and ftype Python.File |
| Date | 2015-11-18 00:12 -0800 |
| Message-ID | <mailman.405.1447834380.16136.python-list@python.org> (permalink) |
Setting up a new machine with Windows 10, I installed Python 3.5.0 and the Launcher. Invoking python files from batch files as foo.py -a -bunch -of -parameters Didn't seem to do _anything_ so I checked: d:\>assoc .py .py=Python.File d:\>ftype Python.File Python.File="C:\Windows\py.exe" "%L" %* I'm surprised by the "%L" where usually programs have "%1". Is this a new Windows feature I don't know about yet, or is it a bug in the installer for the Launcher? ftype /? does not enlighten me that there is a new %L feature available. I did upgrade to Threshold 2 after installing Python and before using it, if that matters, just due to the timing of setting up the new machine. Turns out I had an empty file named foo.py and that is why it didn't do anything, but now I'm just really puzzled about what "%L" means... Google doesn't support searching for "%L" very well.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Launcher, and ftype Python.File Glenn Linderman <v+python@g.nevcal.com> - 2015-11-18 00:12 -0800
csiph-web