인프런 커뮤니티 질문&답변
Header를 작성할 때 dictwriter
작성
·
223
0
마지막 예제 5에서 필드명을 작성할 때, wt = dictwriter라 하셨는데 왜 그냥 writer가 아니라 dictwriter가 쓰였는지 궁금합니다.
밑에 wt.writerow({'One' : v[0], 'Two' : v[1], 'Three' : v[2], 'Four' : v[3]})
라고 적어야 하기 때문인가요?
퀴즈
What happens when a file is opened in write mode ('w')?
Content is added at the end of the file.
The existing content of the file is erased and new content is written.
Both read and write modes are activated.
If the file cannot be opened, an error occurs.





