Using glob.glob to find files in multiple folders through a given path?
<p>So I'm trying to use glob.glob to to go through a user-given path to Python and then finding all subsequent folders for a .txt. Currently, below, is what I have but it doesn't seem to work.</p>

<pre><code>fileName = raw_input("&gt; ")
listOfTxt = []
for files in glob.glob(os.path.join(fileName, "\\Folder\\*\\*\\*.txt")):
     listOfTxt.append(files) # add it to the list
</code></pre>

<p>I'm not sure how to get this to work, or I'm just not understanding the glob.glob with os.path.</p>
