How to read from a CSV file in Python while still maintaining single responsibility principle?

后端 未结 0 1825
遥遥无期
遥遥无期 2020-12-03 03:40

When reading from a file, I save the read in as a dictionary like this:

with open(\'StudentsPerformance.csv\', \'r\') as file:
    read_csv = csv.DictReader(f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题