How to download to a specific directory?
Use urllib.urlretrieve
(urllib.request.urlretrieve
in Python 3.x):
import urllib
urllib.urlretrieve('http://example.com/file.ext', '/path/to/directory/filename.ext')
NOTE the second argument should be file path, not directory path.