I tried to just read and save the contents of the text file into an array, but:
ins = open( "file.txt", "r" )
array = []
for line in ins:
array.append( line )
ins.close()
This gives me an error for "open":
Unresolved reference 'open' less... (Ctrl+F1)
This check discovers the names that should be resolved, but not. Due to dynamic sending and duck printing, this is possible in a limited but useful number of cases. Top-level and class-level elements are better supported than instance elements.
Can someone explain what I'm doing wrong? Thanks
source
share