import save string = \"\" with open(\"image.jpg\", \"rb\") as f: byte = f.read(1) while byte != b\"\": byte = f.read(1) print ((byte)) <
import save string = \"\" with open(\"image.jpg\", \"rb\") as f: byte = f.read(1) while byte != b\"\": byte = f.read(1) print ((byte))
The b"..." is just a python notation of byte strings, it's not really there, it only gets printed. Does it cause some real problems to you?