#NEWLINE# def download_python( version , arch ) : #NEWLINE# #INDENT# for _ in range ( 3 ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return download_file ( URLS [ ( exc , arch ) ] , 'installer.exe' ) #NEWLINE# #UNINDENT# except Exception as exc : #NEWLINE# #INDENT# print ( 'Failed to download:' , exc ) #NEWLINE# #UNINDENT# print ( 'Retrying ...' )