Open an XML file through URL and save it - Stack Overflow
https://stackoverflow.com/questions/46844231/open-an-xml-file-through-url-and-save-it
WEBOct 20, 2017 · With Python 3, I want to read an XML web page and save it in my local drive. Also, if the file already exist, it must overwrite it. I tested some script like : import urllib.request xml = urllib.request.urlopen('URL') data = xml.read() file = open("file.xml","wb") file.writelines(data) file.close() But I have an error :
DA: 30 PA: 67 MOZ Rank: 29