title: How does tf.app.run() work?
body: <p>How does <code>tf.app.run()</code> work in Tensorflow translate demo? </p>
  
  <p>In <code>tensorflow/models/rnn/translate/translate.py</code>, there is a call to <code>tf.app.run()</code>. How is it being handled?</p>
  
  <pre><code>if __name__ == "__main__":
      tf.app.run() 
  </code></pre>