Opening file in binary read mode | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 5
No. You have to use 'rb'
5th May 2017, 7:58 PM
Ulisses Cruz
Ulisses Cruz - avatar