0

How do I open the file in binary write mode?

open("test.txt", "w ") ?

22nd Nov 2018, 9:28 AM
Hajoor Singh
Hajoor Singh - avatar
10 Answers
+ 12
open("test.txt","wb")
22nd Nov 2018, 4:37 PM
Maninder $ingh
Maninder $ingh - avatar
+ 6
It is covered in the lesson, you'll get to it eventually: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2445/
22nd Nov 2018, 9:37 AM
Ipang
+ 1
b
5th Jun 2020, 12:20 PM
BENNETH ATTAMAH
BENNETH ATTAMAH - avatar
+ 1
Guys I am in module 5 quiz and needs to fill the write code for "Open the file in binary write mode." I used everything b "b" wb "wb" open(file,"wb") open"test.txt","wb") f = open("test.txt","wb") Nothing works.
23rd Jan 2024, 12:03 PM
rafail
0
https://youtu.be/Tg4Du8eUFw8 this is my youtub channel in which full python tutorial course
8th Jul 2020, 11:02 AM
Code TO Programming
0
the answer is; 'b'
23rd Jul 2020, 6:27 PM
Michael Yip
Michael Yip - avatar
0
23rd Feb 2021, 9:43 AM
Krishay Bhardwaj
Krishay Bhardwaj - avatar
0
1. "wb") is correct answer
2nd Mar 2021, 3:42 PM
v manojbabu
v manojbabu - avatar
0
q) open the file in binary write mode? ans: open("test.txt","wb")
26th May 2021, 7:10 AM
Madhavareddy
Madhavareddy - avatar
0
I have tried many items like rafail listed, and even the top voted answer, and Sololearn is marking it wrong. There is something broken with the Module 5 Quiz. I cannot get past this lesson because of this. Any help?
19th Apr 2024, 3:13 AM
Han Solo
Han Solo - avatar