title: How to get kernel's console output in Colab
body: <p>I am trying to use <code>tf.Print</code> in <code>Colab</code>.</p>
  
  <p>Below is the sample code:</p>
  
  <pre><code>tf.enable_eager_execution()
  
  tensor = tf.range(10)
  
  tf.print("tensors:", tensor, {2: tensor * 2}, output_stream=sys.stdout)
  </code></pre>
  
  <p>How ever I cannot see the output, probably because the output goes to the notebook kernel's console output, not in the notebook cell output.</p>
  
  <p>So how do I see the <code>colab</code> kernels console output?? Any help would be greatly appreciated!</p>