I wrote as following:
content=urllib2 .urlopen("http://www.sdfagfa.org/asasg/a.zip").read()
f=open("d:\\a.z ip",'a+',1)
f.writelines(co ntent)
the zip file has been download to my machine,but when be unzip , error
occurs:
" there is an error at the end of the file"
content=urllib2 .urlopen("http://www.sdfagfa.org/asasg/a.zip").read()
f=open("d:\\a.z ip",'a+',1)
f.writelines(co ntent)
the zip file has been download to my machine,but when be unzip , error
occurs:
" there is an error at the end of the file"
Comment