title: Most concise, Pythonic way to represent a null byte as a binary (bytes) string in Python 3
body: <p>I needed to add some padding to a bytes string. This is what I came up with:</p>
  
  <pre><code>if padding_len &gt; 0:
      data += bytes.fromhex('00') * padding_len
  </code></pre>
  
  <p>Is there a nicer way of representing a null byte in Python 3 than <code>bytes.fromhex('00')</code>?</p>