title: How to get all of the immediate subdirectories in Python
body: <p>I'm trying to write a simple Python script that will copy a index.tpl to index.html in all of the subdirectories (with a few exceptions). </p>
  
  <p>I'm getting bogged down by trying to get the list of subdirectories.</p>