numpy.random.RandomState.bytes — NumPy v1.15 Manual (original) (raw)

Return random bytes.

np.random.bytes(10) ' eh\x85\x022SZ\xbf\xa4' #random