On 5/2/2016 1:37 AM, Stephen Hansen wrote:
On Sun, May 1, 2016, at 10:23 PM, DFS wrote:
Trying the rawstring thing (say it fast 3x):
webpage = "http://econpy.pythonanywhere.com/ex/001.html"
----------------------------------------------------
webfile = "D:\\econpy001.html"
urllib.urlretrieve(webpage,webfile) WORKS
----------------------------------------------------
webfile = "rD:\econpy001.html"
The r is *outside* the string.
Its: r"D:\econpy001.html"
Got it. Thanks.
--
https://mail.python.org/mailman/listinfo/python-list