方法
random.Generator.
bytes
返回随机字节。
随机字节数。
长度字符串 length .
实例
>>> np.random.default_rng().bytes(10) ' eh\x85\x022SZ\xbf\xa4' #random