title: How to pack one variable using struct.pack?
body: <p>I'm sending integers to server using socket in Python. I'm packing it before sending:</p>
  
  <pre><code>values = (0, 2)
  packer = struct.Struct('I I')
  packed_data = packer.pack(*values)
  </code></pre>
  
  <p>What if I want to send only one integer? Struct.pack need at least two variables.
  I'm a Python newbie.</p>