Skip to content

Instantly share code, notes, and snippets.

@jovianlin
Created February 10, 2016 02:47
Show Gist options
  • Save jovianlin/c3d3a10d5f7ff15e3998 to your computer and use it in GitHub Desktop.
Save jovianlin/c3d3a10d5f7ff15e3998 to your computer and use it in GitHub Desktop.
Stop .pyc files from being produced
# Include `sys.dont_write_bytecode = True` after `import sys`,
# if you don't want .pyc files to be produced
import sys
sys.dont_write_bytecode = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment