code: def generate_password():
      
      chars = uppercase + lowercase + digits
      return ''.join(SystemRandom().choice(chars) for x in xrange(16))
docs: Return a 16-character alphanumeric random string generated by the
      operating system's secure pseudo random number generator