access a file outside of class python

前端 未结 0 1474
孤独总比滥情好
孤独总比滥情好 2020-12-18 14:20

there is a file "words.txt" I have to access it.

\'\'\' WORDLIST_FILENAME = \'words.txt\'

class Message(object): def init(self, text

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