code: def new_random_wallet(cls, user_entropy=None, network=BitcoinMainNet):
          
          seed = str(urandom(64))  # 512/8
          # weak extra protection inspired by pybitcointools implementation:
          seed += str(int(time.time()*10**6))
          if user_entropy:
              user_entropy = str(user_entropy)  # allow for int/long
              seed += user_entropy
          return cls.from_master_secret(seed, network=network)
docs: Generate a new wallet using a randomly generated 512 bit seed.
  
          Args:
              user_entropy: Optional user-supplied entropy which is combined
                  combined with the random seed, to help counteract compromised
                  PRNGs.
  
          You are encouraged to add an optional `user_entropy` string to protect
          against a compromised CSPRNG. This will be combined with the output
          from the CSPRNG. Note that if you do supply this value it only adds
          additional entropy and will not be sufficient to recover the random
          wallet. If you're even saving `user_entropy` at all, you're doing it
          wrong.