Last active
December 15, 2015 09:39
-
-
Save perguth/5239596 to your computer and use it in GitHub Desktop.
Create file with date and user input as name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/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