jupyter notebook的一些快捷命令

来源:互联网 发布:android 源码 打包apk 编辑:程序博客网 时间:2024/06/05 05:31

jupyter notebook快捷方式

1 keyboard shortcuts

  1. Ctrl+Shift+P help
  2. Esc+F 查找和替换
  3. Shift+上下键选择多个cell
  4. Shift+M 合并多个cell

例如:
1. ?tf.nn.conv2d

3 Jupyter Magic Commands

  1. %lsmagic

4 run python code(also ./.ipynb)

  1. %run ./*.py

5 python pdb

  1. https://docs.python.org/3.5/library/pdb.html#debugger-commands

6 Executing Shell Commands

  1. !ls
  2. !pip list | grep pandas
0 0
原创粉丝点击