Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98950 > unrolled thread

Launcher, and ftype Python.File

Started byGlenn Linderman <v+python@g.nevcal.com>
First post2015-11-18 00:12 -0800
Last post2015-11-18 00:12 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Launcher, and ftype Python.File Glenn Linderman <v+python@g.nevcal.com> - 2015-11-18 00:12 -0800

#98950 — Launcher, and ftype Python.File

FromGlenn Linderman <v+python@g.nevcal.com>
Date2015-11-18 00:12 -0800
SubjectLauncher, and ftype Python.File
Message-ID<mailman.405.1447834380.16136.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web