I canβt say for sure, but I know that the ISO C standard does not distinguish between binary and non-binary modes when called, fopenand yet Windows does.
, Python fopen("Last_Dawn.jpg","r") ( C), Windows .
(LF -> CRLF) , , .
"rb" , :
img = open("Last_Dawn.jpg", "rb")