QuestionQ78Verified/File Processing and Communicating with a Program’s EnvironmentCopy linkReport a problemAsk AstroTutorSave questionSelect the correct statements regarding the csv module.Choose twoAA DictReader object maps each row to a diet.BThe DictReader method always gets the header from the first line in the file.CIt is possible to create a DictWriter object without specifying a header.DA reader object maps each row to a list of strings.Show AnswerAnswerExplanationA 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.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion