Skip to content

Instantly share code, notes, and snippets.

@clly
Created September 21, 2012 21:30
Show Gist options
  • Save clly/3764038 to your computer and use it in GitHub Desktop.
Save clly/3764038 to your computer and use it in GitHub Desktop.
compile python scripts
import py_compile, sys
py_compile.compile(sys.argv[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment