Create a list with text from another file

前端 未结 0 712
暖寄归人
暖寄归人 2020-12-08 06:41

I\'m trying to add items to a list that are from another file.

This is what I have so far:

book_list = open("books.txt")
book_titles = []


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