Skip to content

Instantly share code, notes, and snippets.

@dreikanter
Created June 3, 2012 14:06
Show Gist options
  • Save dreikanter/2863635 to your computer and use it in GitHub Desktop.
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
@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