This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, bebac, mhammond, tarek, techtonik, terry.reedy
Date 2009-03-17.21:22:05
SpamBayes Score 5.11899e-06
Marked as misclassified No
Message-id <1237324938.43.0.961504637399.issue4015@psf.upfronthosting.co.za>
In-reply-to
Content
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 """
History
Date User Action Args
2009-03-17 21:22:18amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, mhammond, terry.reedy, techtonik, tarek, bebac
2009-03-17 21:22:18amaury.forgeotdarcsetmessageid: <1237324938.43.0.961504637399.issue4015@psf.upfronthosting.co.za>
2009-03-17 21:22:06amaury.forgeotdarclinkissue4015 messages
2009-03-17 21:22:05amaury.forgeotdarccreate