Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: I sometimes use this trick on Windows: name the script with a .bat extension, and put these lines on top of the file:
@echo off rem = """ rem run python on this bat file. rem The -x causes python to skip the first line of the file: c:\path\to\python -x %~dpnx0 %* goto :EOF rem """ ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4015> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com