Skip to content

Instantly share code, notes, and snippets.

@theand
Created February 21, 2014 16:16
Show Gist options
  • Select an option

  • Save theand/9137213 to your computer and use it in GitHub Desktop.

Select an option

Save theand/9137213 to your computer and use it in GitHub Desktop.
make numbered directory (used at 2008.06.18)
import os
max = raw_input("how many?")
if max == None:
max=21
for i in range(1,int(max)+1):
os.mkdir("%02d"%i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment