Skip to content

Instantly share code, notes, and snippets.

@EricTRocks
EricTRocks / XMLtoDirStruct.py
Created February 4, 2013 19:59
Script to create directories from an XML file.
import os
import xml.etree.ElementTree as ET
DEBUG = 0
strXML = """<?xml version='1.0'?>
<dir>
<dir name="images">
<dir name="nuke" />
<dir name="maya" />