Show More
@@ -114,7 +114,7 b" then just type ``cd mydir`` to go to directory 'mydir'::" | |||||
114 | In [9]: cd mydir |
|
114 | In [9]: cd mydir | |
115 | /home/fperez/mydir |
|
115 | /home/fperez/mydir | |
116 |
|
116 | |||
117 |
|
|
117 | Cell magics *always* require an explicit ``%%`` prefix, automagic | |
118 | calling only works for line magics. |
|
118 | calling only works for line magics. | |
119 |
|
119 | |||
120 | The automagic system has the lowest possible precedence in name searches, so |
|
120 | The automagic system has the lowest possible precedence in name searches, so | |
@@ -210,7 +210,7 b' information about your working environment:' | |||||
210 | identifiers and %whos prints a table with some basic details about |
|
210 | identifiers and %whos prints a table with some basic details about | |
211 | each identifier. |
|
211 | each identifier. | |
212 |
|
212 | |||
213 |
|
|
213 | The dynamic object information functions (?/??, ``%pdoc``, | |
214 | ``%pfile``, ``%pdef``, ``%psource``) work on object attributes, as well as |
|
214 | ``%pfile``, ``%pdef``, ``%psource``) work on object attributes, as well as | |
215 | directly on variables. For example, after doing ``import os``, you can use |
|
215 | directly on variables. For example, after doing ``import os``, you can use | |
216 | ``os.path.abspath??``. |
|
216 | ``os.path.abspath??``. | |
@@ -373,7 +373,7 b' and captures the output). Each of these gets machine' | |||||
373 | readable output from stdout (e.g. without colours), and splits on newlines. To |
|
373 | readable output from stdout (e.g. without colours), and splits on newlines. To | |
374 | explicitly get this sort of output without assigning to a variable, use two |
|
374 | explicitly get this sort of output without assigning to a variable, use two | |
375 | exclamation marks (``!!ls``) or the :magic:`sx` magic command without an assignment. |
|
375 | exclamation marks (``!!ls``) or the :magic:`sx` magic command without an assignment. | |
376 |
( |
|
376 | (However, ``!!`` commands cannot be assigned to a variable.) | |
377 |
|
377 | |||
378 | The captured list in this example has some convenience features. ``myfiles.n`` or ``myfiles.s`` |
|
378 | The captured list in this example has some convenience features. ``myfiles.n`` or ``myfiles.s`` | |
379 | returns a string delimited by newlines or spaces, respectively. ``myfiles.p`` |
|
379 | returns a string delimited by newlines or spaces, respectively. ``myfiles.p`` |
General Comments 0
You need to be logged in to leave comments.
Login now