#NEWLINE# def download_file( url , filename ) : #NEWLINE# #INDENT# '\n    :param url: URL of file to download\n    :param filename: Filename to write the result object to\n    :return:\n    ' #NEWLINE# r = requests . get ( url , stream = True , proxies = config . proxies , verify = config . verifySSL ) #NEWLINE# with open ( r , 'wb' ) as fd : #NEWLINE# #INDENT# for chunk in r . iter_content ( 1024 ) : #NEWLINE# #INDENT# fd . write ( chunk )