title: How to write data from a genetic evolutionary algorithm to an external file in python
body: <p>I wrote a genetic algorithm in order to find the best fiber layout in a carbon fiber reinforced polymer composite brake booster. Both finite element model and the optimization algorithm were written in Python. 
  I am trying to print every information regarding the optimization, but I did not find a way so far.
  Could someone assist me on how to do that?
  Thanks in advance!</p>
  
  <p>regards,
  Humb.</p>