Skip to content

Instantly share code, notes, and snippets.

@akleemans
Created May 23, 2013 12:39
Show Gist options
  • Save akleemans/5635756 to your computer and use it in GitHub Desktop.
Save akleemans/5635756 to your computer and use it in GitHub Desktop.
items = open('todo.txt', 'r').readlines()
for item in items:
item_file = open(item.strip() + '.txt', 'w')
item_file.write(item)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment