Thanks - but have printed and verified they are valid paths and filenames. One correction to the code I listed: theurl = imagepath[:-8] For some reason the values aren't being passed through urllib.urlretrieve properly but this makes no sense to me?