Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It seems to me that the best way is to add the following line at the start of 
the script:

    @path\to\python -x %0 %* & exit /b

Or

    @py -3 -x %0 %* & exit /b

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32050>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to