def download_file_insecure(url, target):
 src = urlopen(url)
 try:
  data = src.read()
 finally:
  src.close()
 with open(target, 'wb') as dst:
  dst.write(data)

def download_file_insecure ( url , target ) : src = urlopen ( url ) try : data = src . read ( ) finally : src . close ( ) with open ( target , 'wb' ) as dst : dst . write ( data )
use python to download the file .