##// END OF EJS Templates
Interrupting and restarting added in basic workflow
David P. Sanders -
Show More
@@ -144,6 +144,9 b' be overcome in the future, but in the meantime, there is a way to debug problems'
144 If your notebook is running on a local
144 If your notebook is running on a local
145 computer (i.e. if you are accessing it via your localhost address at ``127.0.0.1``), you can just type ``%qtconsole`` in the notebook and a Qt console will open up, connected to that same kernel.
145 computer (i.e. if you are accessing it via your localhost address at ``127.0.0.1``), you can just type ``%qtconsole`` in the notebook and a Qt console will open up, connected to that same kernel.
146
146
147 At certain moments, it may be necessary to interrupt a particularly long calculation, or even to kill the entire computational process. This may be achieved by interrupting or restarting the kernel, respectively.
148 After a restart, all relevant cells must be re-evaluated
149
147
150
148 Cell types
151 Cell types
149 ----------
152 ----------
@@ -178,7 +181,7 b' Raw cells provide a place to put additional information which is not evaluated b'
178
181
179 Magic commands
182 Magic commands
180 --------------
183 --------------
181 Magic commands, or *magics*, are one-word commands starting with `%`, which give commands to IPython itself (as opposed to standard Python commands which are exported to be run in a Python interpreter).
184 Magic commands, or *magics*, are one-word commands starting with `%%`, which give commands to IPython itself (as opposed to standard Python commands which are exported to be run in a Python interpreter).
182
185
183 Magics control different elements of the way that the IPython notebook operates. They are entered into standard code cells and executed as usual with :kbd:`Shift-Enter`.
186 Magics control different elements of the way that the IPython notebook operates. They are entered into standard code cells and executed as usual with :kbd:`Shift-Enter`.
184
187
@@ -190,6 +193,11 b' Some of the main magics are the following:'
190 * ``%config``
193 * ``%config``
191 Configuration of IPython
194 Configuration of IPython
192
195
196 * ``%timeit``
197 Time a single line of code.
198
199 There are also *cell magics*, which start with ``%%``
200
193
201
194 Plotting
202 Plotting
195 --------
203 --------
@@ -209,15 +217,6 b' which captures the output inline within the notebook format. This has the benefi'
209
217
210
218
211
219
212
213 `%matplotlib` and `%pylab` magics
214
215 Inline versus non inline
216
217 %config
218
219
220
221 Exporting a notebook and importing existing scripts
220 Exporting a notebook and importing existing scripts
222 ---------------------------------------------------
221 ---------------------------------------------------
223
222
General Comments 0
You need to be logged in to leave comments. Login now