Created
June 3, 2012 14:06
-
-
Save dreikanter/2863635 to your computer and use it in GitHub Desktop.
Shebang analog for Windows to run Python code directly included to batch files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off &python -x %0 %* &goto :eof | |
print("Hello Python!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment