how to use random on a string python code example
Example: python random string
import secrets
secrets.token_hex(nbytes=16)
# this will produce something like
# aa82d48e5bff564f3221d02194611c13
import secrets
secrets.token_hex(nbytes=16)
# this will produce something like
# aa82d48e5bff564f3221d02194611c13