Opening file in binary read mode | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Opening file in binary read mode

since "r" is default can't we just put "b" to open in binary read mode instead of "rb"?

5th May 2017, 7:27 PM
Abou abdelmohsin Hichem
Abou abdelmohsin Hichem - avatar
1 Antwort
+ 5
No. You have to use 'rb'
5th May 2017, 7:58 PM
Ulisses Cruz
Ulisses Cruz - avatar