There are certain jupyter key shortcuts/tricks that helps developers remain more productive.

  • To run a cell Shift + enter or ctrl + enter.
  • Jupyter notebooks also offers tab completion

  • You can also get documentation within jupyter-notebook by hitting shft + tab three times or you can by ? at the end of the function to get docs.

  • M for markdown mode and Y for command mode.
  • %env This is going to print environment variables.
  • %pdb activates pdb debugger.
  • %pylab allows to work interactively with numpy and matplotlib.
  • %%debug activate debbugging mode in cell.
  • %%html renders cell as html.
  • %%latex renders cell as latex.
  • %%sh shell script.
  • %%time time command to see how long it took to run the command.

These are my personal favorites for jupyter-notebook.

About the Author

Muhammad Raza is a Senior DevOps Engineer and former AWS Professional Services Consultant with 5 years of experience in cloud infrastructure, CI/CD automation, and DevOps solutions. He has helped numerous clients optimize AWS costs, implement Infrastructure as Code, and build reliable deployment pipelines.

Need help with your DevOps workflows? I'm available for consulting on CI/CD pipelines, infrastructure automation, and AWS architecture. Book a free 30-min call or email me.

Connect on LinkedIn Follow on X/Twitter GitHub