title: How to read bytes from user in python
body: <p>May I know how can I read bytes from end user using command line.</p>
  
  <p>I tried with</p>
  
  <pre><code>a = input("Enter your bytes data\n")
  </code></pre>
  
  <p>but that is reading strings.
  I am using python 2 version.</p>
  
  <p>Please let me know how to do it?</p>