I have the following code
import os
unk2 = os.urandom(10)
totlen = len("lol1") + len("lol2")
ownershipsectionwithsig = "random1" + "random2"
ticket = list(unk2) + list(ownershipsectionwithsig)
ticket = "".join(map(str, ticket))
print(ticket)
the code is for something i was testing related to RNG.
In python 2 it prints the following ?zoռv3L??random1random2
However in python 3 it prints 245148103178837822864207104random1random2
For some reason python 3 doesn't show the raw byte output like python 2 does, it converts it into something. How would i make change my code so python 3 outputs the code the way python 2 does it?
Thanks in advance.