QuestionQ78

VerifiedFile Processing and Communicating with a Program’s Environment

Select the correct statements regarding the csv module.

Choose two
Explanation

A csv.DictWriter can be created without outputting a header row; calling writeheader() is optional, although fieldnames must be supplied. A csv.reader returns each parsed row as a list of strings.

Community Discussion

No comments yet. Be the first to start the discussion!