|
1 |
| -## Use And Shortuts Of upyter Notebook |
| 1 | +## Jupyter Notebook Shortcuts |
| 2 | + |
| 3 | +Some Use full Information |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +### Open Jupyter NoteBook at Particular Directory |
| 8 | + |
| 9 | +conside you want to open Jupyter notebook at following path |
| 10 | +``` |
| 11 | +C:\Users\ravi\Desktop\PythonScript |
| 12 | +``` |
| 13 | + |
| 14 | +Simple Open Terminal(Command Prompt) and change path using cd. |
| 15 | +``` |
| 16 | +cd "C:\Users\ravi\Desktop\PythonScript" |
| 17 | +``` |
| 18 | + |
| 19 | +now just Type |
| 20 | +``` |
| 21 | +Jupyter Notebook |
| 22 | +``` |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +Note:Or simple open directory and in the address bar type **Jupyter Notebook** and hit Enter . |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +### New Jupyter Notebook Window |
| 31 | + |
| 32 | +- When Jupyter Notebook running. |
| 33 | +- Click on the **new** dropdown and select "python3" it Will Open A New Notebook |
| 34 | +- To change FIle name click on untitled and rename as your wish. |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +#### How to run Python statement in jupyter Notebook |
| 39 | +- Type you python code or statement and just click on run or just press *ctrl+Enter* it willl show Output in next line. |
| 40 | + |
| 41 | + |
| 42 | +### Shortcuts |
| 43 | +- The Jupyter Notebook has two different keyboard mode for shortcut purpose. |
| 44 | + |
| 45 | +``` |
| 46 | +Command Mode |
| 47 | +Edit Mode |
| 48 | +``` |
| 49 | +#### Command Mode |
| 50 | +- Command mode binds the keyboard to notebook level commands and is indicated by a grey cell border with a blue left margin. |
| 51 | +- Press **Esc** To enable Command Mode |
| 52 | + |
| 53 | +##### Some Imporant Command Mode Shortcuts |
| 54 | +``` |
| 55 | +H : TO show Avialable Keyboard Shortcuts |
| 56 | +
|
| 57 | +F : Find and Replace in selected cell |
| 58 | +
|
| 59 | +#Cell Insertion |
| 60 | +A : Insert cell above |
| 61 | +B : Insert cell below |
| 62 | +
|
| 63 | +#Cut Copy Paste |
| 64 | +X : Cut selected cells |
| 65 | +C : Copy selected cells |
| 66 | +V : Paste cells below |
| 67 | +Shift+V : Paste cells above |
| 68 | +
|
| 69 | +# Cell Deletion |
| 70 | +D,D : Delete Selected Cell(Press two Times D) |
| 71 | +Z : Undo Cell Deletion |
| 72 | +``` |
| 73 | + |
| 74 | +#### Edit Mode |
| 75 | +- Edit mode allows you to type code or text into a cell and is indicated by a green cell border. |
| 76 | +- Press **Enter** To enable Command Mode |
| 77 | + |
| 78 | +##### Some Imporant Edit Mode Shortcuts |
| 79 | +``` |
| 80 | +TAB : Simple Code completion |
| 81 | +
|
| 82 | +Ctrl-] : give proper indent to statements |
| 83 | +Ctrl-[ : Dedent(Remove Indent) |
| 84 | +Ctrl-A : Select All |
| 85 | +Ctrl-Z : Undo |
| 86 | +Ctrl-/ : Add Comments |
| 87 | +
|
| 88 | +
|
| 89 | +Ctrl-Enter : run selected cells |
| 90 | +Alt-Enter : run cell and insert below |
| 91 | +
|
| 92 | +Esc : To Enter in Command Mode |
| 93 | +``` |
| 94 | + |
| 95 | + |
| 96 | +#### Some Toolbar Information |
| 97 | + |
| 98 | +**1. Save:** |
| 99 | +- Click on Save Option which is present in toolbar. |
| 100 | +- Simple Use Keyboard Shortcut ctrl+S |
| 101 | + |
| 102 | +**2. Insert New Cell** |
| 103 | +- Click on Plus (+) New Cell Is added. |
| 104 | +- You can use menu (Insert) for |
| 105 | + - insert cell above |
| 106 | + - insert cell below |
| 107 | +- Simply You can also use Keyboard shortccuts |
| 108 | +``` |
| 109 | +A : insert cell above |
| 110 | +B: : insert cell below |
| 111 | +``` |
| 112 | + |
| 113 | +**3. Cut Cell** |
| 114 | +- First select cell which you want to delete and click on scissor icon to remove that cell. |
| 115 | +- Or use keyboard Shortcuts |
| 116 | +``` |
| 117 | +x : Cut Selected cell |
| 118 | +``` |
0 commit comments