Author serhiy.storchaka
Recipients Jim.Jewett, dholth, ethan.furman, paul.moore, serhiy.storchaka, steve.dower
Date 2015-02-27.12:36:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425040604.38.0.784988165076.issue23491@psf.upfronthosting.co.za>
In-reply-to
Content
There is not well known old way how to make executable Python files on Windows. Add line "@python -x %0 %*" at the start of your Python script and rename the script to *.bat. The "-x" option makes Python to skip first line that is not Python, and @ forbids echoing executed command in bat-file.

Could zipapp support this feature?
History
Date User Action Args
2015-02-27 12:36:44serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, dholth, ethan.furman, Jim.Jewett, steve.dower
2015-02-27 12:36:44serhiy.storchakasetmessageid: <1425040604.38.0.784988165076.issue23491@psf.upfronthosting.co.za>
2015-02-27 12:36:44serhiy.storchakalinkissue23491 messages
2015-02-27 12:36:44serhiy.storchakacreate