Page 110 - Beginning Programming with Pyth - John Paul Mueller
P. 110

  TRUSTING YOUR NOTEBOOK
 In the upper-right corner of Notebook, you see a little square box with the words
 most cases, it doesn’t matter that your notebook is untrusted because of how Python works.
 However, when dealing with some local or secure resources on a website, you may find that you
 really do need to place some trust in your notebook.
The fastest, easiest method of overriding the trust issue is to click the Not Trusted button. You
Not Trusted. In
  see a dialog box that gives you the option of trusting the notebook. Unfortunately, this is also a
 good way to cause yourself woe with security issues and isn’t recommended unless you know
 that you can trust the source.
 Anaconda provides a number of other ways to ensure safe access to secure resources. Performing
 the extended setup is outside the scope of this book, but you can read about it at
 examples in this book require you to run in trusted mode, so you can safely ignore that Not
. None of the
   Trusted button for the moment.
https://jupyter-notebook.readthedocs.io/en/latest/security.html
Toggling outputs
Sometimes seeing the output from a cell is helpful, but in other cases, the output just gets in the way. In addition, situations that call for starting with a clean output can arise, so you may want to clear the old information. The Cell ⇒ Current Outputs menu has options that affect just the selected cell, and the Cell ⇒ All Output menu has options that affect all the cells in the notebook. Here are the options you have for controlling output:
Toggle: Turns the output on or off, based on a previous condition. The output is still present in its entirety.
Toggle Scrolling: Reduces the size of long outputs to just the default number of lines. In this way, you can see enough information to know how the cell worked, but not get every detail.
Clear: Removes the current output. You must rerun the cell in order to generate new output after using this option.
Changing Jupyter Notebook’s Appearance













































































   108   109   110   111   112