Ipython Notebook: how to run multiple cells?

后端 未结 3 1321
借酒劲吻你
借酒劲吻你 2021-01-11 11:04

My notebook gets a bit of long, I divide it into several parts. Sometimes, I just want to run a certain part of it, i.e consecutive cells

For example, <

3条回答
  •  醉梦人生
    2021-01-11 11:25

    UPDATE as per Jan 2018: You can select and run multiple cells in command mode using the below shortcuts:

    1.shift+K (select the cells in an upward direction) and then Ctrl+Enter

    2.shift+J (select the cells in a downward direction) and then Ctrl+Enter

提交回复
热议问题