What is the optimal way there?

前端 未结 0 1086
感情败类
感情败类 2021-01-01 21:04

Do you think it is better to use generator or a list in this case ?

with open(\'department_names.txt\', \'r\') as dep_file:
    departments = (line.strip() fo         


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