Skip to content

Instantly share code, notes, and snippets.

@aviafelix
Created May 28, 2015 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviafelix/e86bb97684d1a252e8af to your computer and use it in GitHub Desktop.
Save aviafelix/e86bb97684d1a252e8af to your computer and use it in GitHub Desktop.
Create empty files (e.g.in windows: create a.x b.y ...)
import sys
if len (sys.argv) > 1:
for i in range(1, len(sys.argv)):
open(sys.argv[i], 'a').close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment