title: In Python, text is encoded in utf-8 in memory; what about integers then?
body: <p>As my understanding, computer could only store binary data. So the text is encoded in utf-8 in memory.</p>
  <p>Then I learned that if we want to convert &quot;Int&quot; to bytes in the code, we normally use <code>struct</code> module. Does that mean that for any &quot;Int&quot; in a file, python compiler always use <code>struct</code> module automatically when storing the info in memory?</p>
  <p>I'm quite confused with this concept so I could be making some stupid mistakes.</p>