title: read file names from directory w/ python
body: <p>I'm trying to make a pygame executable.  I will use the following setup file:</p>
  
  <pre><code>from distutils.core import setup
  import py2exe
  
  setup( 
    console = [ "game.py" ],
    author = "me",
    data_files = [ ( directory, [ file_1, file_2... ] ) ]
  )
  </code></pre>
  
  <p>I've gotten this to work fine on a simple game, but the game I want to package up has > 700 image files.  My question is, is there a simple way to read all file names from a directory so I don't have to list each one separately?</p>
  
  <p>While there are some files that are numbered in sequence, most have a different root name, so writing a loop that makes the appropriate strings is not an option.</p>
  
  <p>Thanks</p>