objeto bytes

#Convert string into byte-like object
newstr = "Hello World"
newstr_bytes = newstr.encode("ascii")
print(newstr_bytes)
Aggressive Angelfish