Skip to content

Instantly share code, notes, and snippets.

@perguth
Last active December 15, 2015 09:39
Show Gist options
  • Save perguth/5239596 to your computer and use it in GitHub Desktop.
Save perguth/5239596 to your computer and use it in GitHub Desktop.
Create file with date and user input as name
!/usr/bin/env python
import time, os, sys
title = ""
input = sys.argv
del input[0]
for arg in input:
title += " " + arg
os.mkdir(time.strftime("%y%m%d") + title)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment