title: Create a list of Hex value in python
body: <p>I'm working with pySerial library to read some byte from Serial Port.</p>
  
  <p>I need to store these bytes into a list, but I would store data in Hex format because the serial peripheral send to me specific command code like 0x10, 0x30, ...</p>
  
  <p>The code:</p>
  
  <pre><code>readByte = serialCOM.read(1)
  print 'Read Payload byte:' + str(readByte)
  packetPayload.append(readByte)
  </code></pre>
  
  <p>creates a list of char.</p>
  
  <p>Which is the way to create a list of hex values?</p>
  
  <p>Thanks!</p>