title: What is this magical "ih" variable in the initialization of this python program?
body: <p>In attempting to learn a bit about curses, I ran across <a href="https://github.com/LyleScott/Python-curses-Scrolling-Example/blob/master/curses_scrolling.py" rel="nofollow">this example of using curses in python.</a> I understand all of what's going on, except for the very last couple of lines:</p>
  
  <pre><code>if __name__ == '__main__':
      ih = MenuDemo()
  </code></pre>
  
  <p>Specifically, what is that "ih" and how does it relate to the initialization of the python program?</p>
  
  <p>Some additional details: I did just try renaming the <code>ih</code> variable, and I found that it's name has nothing to do with behaviour. That leads me to assume that this is general python-related behaviour.</p>
  
  <p>Though I do have some experience building things with python, I guess I missed this section of the book. Can someone explain what's going on here?</p>