Which of the following command is used to open a file “c:\temp.txt” for writing in binary format only?
2 points
outfile = open(“c:\temp.txt”, “w”)
B. outfile = open(“c:\\temp.txt”, “wb”)
C. outfile = open(“c:\temp.txt”, “w+”)
D. outfile = open(“c:\\temp.txt”, “wb+”)
Answers
Answered by
1
Answer:
B is very very right answer
Similar questions