Python application launcher (for Python code)

Cholo Lennon chololennon at hotmail.com
Fri Feb 24 07:32:17 EST 2017


On 02/23/2017 11:15 PM, Dennis Lee Bieber wrote:
> On Thu, 23 Feb 2017 12:58:24 -0300, Cholo Lennon <chololennon at hotmail.com>
> declaimed the following:
>
>
>> If the script has no screen input/output I'd edit the shortcut and
>> prefix the script pathname with pythonw.exe (to avoid the empty
>> console). Also I'd add the python path if it is not in the user/system
>> PATH or if you have multiple python installations)
>>
> 	If a normal Windows install, just change the extension to .pyw -- the
> normal association is for .pyw to use pythonw.exe
>

Ahhh... it's good to know :-) thanks

>
> C:\Users\Wulfraed>assoc .pyw
> .pyw=Python.NoConFile
>
> C:\Users\Wulfraed>ftype python.noconfile
> python.noconfile="C:\Python27\pythonw.exe" "%1" %*
>
> C:\Users\Wulfraed>
>


-- 
Cholo Lennon
Bs.As.
ARG



More information about the Python-list mailing list