Show More
@@ -32,9 +32,9 b' Rather than manipulating os.environ directly, you may like to use the magic' | |||||
32 | and values. To get the value of a specific variable, use `%env var`. To set |
|
32 | and values. To get the value of a specific variable, use `%env var`. To set | |
33 | the value of a specific variable, use `%env foo bar`, `%env foo=bar`. By |
|
33 | the value of a specific variable, use `%env foo bar`, `%env foo=bar`. By | |
34 | default values are considered to be strings so quoting them is unnecessary. |
|
34 | default values are considered to be strings so quoting them is unnecessary. | |
35 |
However, |
|
35 | However, Python variables are expanded as usual in the magic command, so | |
36 | `%env foo=$bar` means "set the environment variable foo to the value of the |
|
36 | `%env foo=$bar` means "set the environment variable foo to the value of the | |
37 |
|
|
37 | Python variable `bar`". | |
38 |
|
38 | |||
39 | Aliases |
|
39 | Aliases | |
40 | ======= |
|
40 | ======= | |
@@ -48,7 +48,7 b' See ``%alias?`` and ``%unalias?`` for details on the alias facilities. See also' | |||||
48 | Directory management |
|
48 | Directory management | |
49 | ==================== |
|
49 | ==================== | |
50 |
|
50 | |||
51 |
Since each command passed by |
|
51 | Since each command passed by IPython to the underlying system is executed | |
52 | in a subshell which exits immediately, you can NOT use !cd to navigate |
|
52 | in a subshell which exits immediately, you can NOT use !cd to navigate | |
53 | the filesystem. |
|
53 | the filesystem. | |
54 |
|
54 | |||
@@ -166,7 +166,7 b' for lists if files), use the .s property::' | |||||
166 | [Q:doc/examples]|15> ls $files |
|
166 | [Q:doc/examples]|15> ls $files | |
167 | example-demo.py example-gnuplot.py extension.py seteditor.py seteditor.pyc |
|
167 | example-demo.py example-gnuplot.py extension.py seteditor.py seteditor.pyc | |
168 |
|
168 | |||
169 |
SLists are inherited from normal |
|
169 | SLists are inherited from normal Python lists, so every list method is | |
170 | available:: |
|
170 | available:: | |
171 |
|
171 | |||
172 | [Q:doc/examples]|21> lines.append('hey') |
|
172 | [Q:doc/examples]|21> lines.append('hey') |
General Comments 0
You need to be logged in to leave comments.
Login now