title: What is a convenient way to store and retrieve boolean values in a CSV file
body: <p>If I store a boolean value using the CSV module, it gets converted to the strings <code>True</code> or <code>False</code> by the <code>str()</code> function. However, when I load those values, a string of <code>False</code> evaluates to being <code>True</code> because it's a non-empty string.</p>
  
  <p>I can work around it by manually checking the string at read time with an IF statement to see what the string is, but it's somewhat less than  elegant. Any better ideas, or is this just one of those things in the programming world?</p>