#NEWLINE# def random_password( self , size = 8 ) : #NEWLINE# #INDENT# value = os . urandom ( value ) #NEWLINE# password = binascii . hexlify ( value ) . decode ( 'ascii' ) #NEWLINE# return password [ : size ]