statistics_file = open('/'.join(path, filename), 'w')
inspyred.ec.observers.file_observer(population, num_generations, num_evaluations, statistics_file)
TypeError: '_io.TextIOWrapper' object is not subscriptable
--
You received this message because you are subscribed to the Google Groups "Inspyred" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inspyred+u...@googlegroups.com.
To post to this group, send email to insp...@googlegroups.com.
Visit this group at https://groups.google.com/group/inspyred.
For more options, visit https://groups.google.com/d/optout.