title: Python convention for variable naming to indicate units
body: <p>First, when I ask about units I mean units of measurement like inches, feet, pixels, cells.  I am not referring to data types like int and float.</p>
  
  <p><a href="https://en.wikipedia.org/wiki/Hungarian_notation" rel="noreferrer">Wikipedia</a> refers to this as <strong>logical data type</strong> rather than <strong>physical data type</strong>.</p>
  
  <p>I'd like to know the best way to name variables.</p>
  
  <p>Here is some code to walk through what I'm asking:</p>
  
  <pre><code>board_length=8 #in inches
  board_length=8*12 #Convert from feet to inches
  </code></pre>
  
  <p>Notice that these are both integers (or floats, I don't care), yet I’ve changed units.  I’ve also kept the variable name the same.  I could establish a convention, and that’s the purpose of this question.  Without guidance, I might do something like this:</p>
  
  <pre><code>board_length=8
  board_length_inches=8*12
  </code></pre>
  
  <p>I would consider this an ad-hoc way of doing things.  Or, I might establish a convention:</p>
  
  <pre><code>Fboard_length=8
  Iboard_length=8*12
  </code></pre>
  
  <p>Or other variants that I equally dislike.  How might I name variables in a descriptive way, yet stay as close to <a href="http://www.python.org/dev/peps/pep-0008/" rel="noreferrer">PEP-08</a> as possible?</p>
  
  <p>Just to be as clear as I can, the variables may have different data types, yet the units would be the same (inches would have the same naming regardless of if it was stored as and integer or a float)</p>