urlretrieve a file whose name has spaces in it
hp at rentec.com
Wed Jul 30 00:39:30 CEST 2003
I am using urllib.urlretrieve() to download a file from a web site.
THe trouble is that the file name has spaces in it,
such as "string string1 foo.doc".
urllib.urlretrieve("http://website.com/path/string string1 foo.doc",
produces local_file which contains the following one line:
<html><head><title>Error</title></head><body>The parameter is
What is the correct way of specifying the this file in urlretrieve() ?
More information about the Python-list