title: urllib2 doesn't download file with wild characters
body: <p>I have a python script which takes the input argument as the path of a directory and file and downloads the file. My code looks as below</p>
  
  <pre><code>def fetch_file(file_url, downloadPath):
      link = urllib2.urlopen(file_url)
      Opening the destination path and writing the contents
  </code></pre>
  
  <p>The problem is in the source I have many files with a common prefix as below:
  file_1.txt</p>
  
  <p>file_2.txt</p>
  
  <p>file_3.txt
  ......
  test.py etc</p>
  
  <p>I want to pass the arguments as a single string say file*.txt. But the urllib2 is not working with that. Can I use a pattern based search and download the files which start with file and end with txt? Any suggestions?</p>