python - Can/ Why can't I read a text file into my Kivy app? -


im making game app involves, reading text file. app doesn't seem work when this. erased code read text file , simulated snippet of information text file have , app worked fine. here code want use

textfile = open('symbols.txt', 'r')  symbols = textfile.read() textfile.close()  symbols = symbols.split('\n') 

where symbols list of words wish use


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -