Show More
@@ -1,22 +1,23 b'' | |||
|
1 | 1 | ======================= |
|
2 | 2 | Built-in magic commands |
|
3 | 3 | ======================= |
|
4 | 4 | |
|
5 | 5 | .. note:: |
|
6 | 6 | |
|
7 |
To Jupyter users: Magics are specifi |
|
|
8 | may be implementing magics but this decision is a per-kernel one. To be able | |
|
9 | to work, Magics need to use a syntax which is not valid in the language they | |
|
10 | are implemented. IPython choosed the `%` as it is not a valid unary operator | |
|
11 | in Python. It is in other languages. | |
|
12 | ||
|
7 | To Jupyter users: Magics are specific to and provided by the IPython kernel. | |
|
8 | Whether magics are available on a kernel is a decision that is made by | |
|
9 | the kernel developer on a per-kernel basis. To work properly, Magics must | |
|
10 | use a syntax element which is not valid in the underlying language. For | |
|
11 | example, the IPython kernel uses the `%` syntax element for magics as `%` | |
|
12 | is not a valid unary operator in Python. While, the syntax element has | |
|
13 | meaning in other languages. | |
|
13 | 14 | |
|
14 | 15 | Here is the help auto generated from the docstrings of all the available magics |
|
15 | 16 | function that IPython ships with. |
|
16 | 17 | |
|
17 | 18 | You can create an register your own magics with IPython. You can find many user |
|
18 | 19 | defined magics on `PyPI <https://pypi.io>`_. Feel free to publish your own and |
|
19 | 20 | use the ``Framework :: IPython`` trove classifier. |
|
20 | 21 | |
|
21 | 22 | |
|
22 | 23 | .. include:: magics-generated.txt |
General Comments 0
You need to be logged in to leave comments.
Login now