Master the capabilities of and explore differences between the Command and Edit modes.
- [Instructor] Jupyter has two modes to work in. It helps to learn the ins and outs of each one and be able to leverage the power of both to make working with Jupyter much more efficient. If you've ever used tools such as a VEM editor, you know that different modes can be confusing at first. So it helps to have a solid grounding in the differences between them. The very first thing to know is how to tell which mode you're in and how to switch between them. If the cell has a green border, you're in edit mode. If it has a blue border, you're in command mode. Edit mode is for all the actions you would typically take in the context of the cell. That's what you're going to use when you are editing and typing your code and text. For example, I'll add some text into this first cell, and then I'll use copy and paste functionality. I'll copy the word phrase, and I'll paste it down here. I can even split this into two cells here at the cursor. Command mode is good for all the actions you would take in the context of the notebook. In other words, outside the scope of any individual cell, often applying actions to multiple cells at once. I can select multiple cells, copy them, and paste them, and then I can delete cells easily. To get a greater sense of what you can do in each mode, open up the shortcuts menu. You'll find that at help, keyboard shortcuts, where it divides up the shortcuts into edit mode and command mode. Reviewing this list will help cement the difference between these two modes.
- Running a Jupyter notebook
- Using shortcuts
- Line and cell commands
- Visualizing data with plotting
- Publishing Jupyter notebooks in GitHub
- Presenting your notebooks with the slideshow feature