#NEWLINE# def get_images( iso_month , max_count = 0 ) : #NEWLINE# #INDENT# if ( max_count is 0 ) : #NEWLINE# #INDENT# max_count = sys . maxsize #NEWLINE# #UNINDENT# img_count = 0 #NEWLINE# total_size = 0 #NEWLINE# for ( iso_date , img_url ) in get_img_names ( iso_month ) : #NEWLINE# #INDENT# total_size += fetch_image ( iso_date , iso_date ) #NEWLINE# img_count += 1 #NEWLINE# if ( img_count == max_count ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# return ( img_count , total_size )