title: How does tensorflow import work?
body: <p>When I do <code>import tensorflow as tf</code>, I can access different packages inside <code>tf</code>: <code>tf.nn</code>, <code>tf.train</code>, etc</p>
  
  <p>BUT accessing <code>tensorflow.examples</code> fails:</p>
  
  <pre><code>Traceback (most recent call last):
    File "interactiveshell.py", line 2881, in run_code
      exec(code_obj, self.user_global_ns, self.user_ns)
    File "&lt;ipython-input-4-c704d4902e0c&gt;", line 1, in &lt;module&gt;
      tf.examples
  AttributeError: 'module' object has no attribute 'examples'
  </code></pre>
  
  <p>I have to import it differently, like <code>from tensorflow.examples.tutorials.mnist import input_data</code>, and only after that <code>tf.examples</code> does resolve. Why?</p>