title: what is the best way to save tuples in python
body: <p>I have a function which returns a tuple which includes numbers, strings and arrays.For example, <code>(1, 2, 3, [[1,2,3],[4,5,6]], ['a','b','c'])</code>. I need to run my function 100 times and save all the results. I'm thinking of save each result as a text file.  So I can have 100 *.txt fils like this:</p>
  
  <pre><code>my number1: 1
  my number2: 2
  my number3: 3
  My array:   [[1,2,3],[4,5,6]]
  My Names:   ['a','b','c']
  </code></pre>
  
  <p>How to write the python code? </p>
  
  <p>Is there better way to save the results for easy data re-visit in future?</p>