title: how to do a hexadecimal increment?
body: <p>I have the following code which increments the value in <code>\\network\loc\build_ver.txt</code> by value "1". The issue currently is that it does an integer increment, but I want to do a hexadecimal increment because the input is going to be a hexadecimal value.</p>
  
  <p>I've tried this:</p>
  
  <pre><code>with open(r'\\network\loc\build_ver.txt','r+') as f:
      value = int(f.read())
      f.seek(0)
      f.write(str(value + 1))
  </code></pre>