Show More
@@ -2509,7 +2509,7 b' Currently the magic system has the following functions:\\n"""' | |||||
2509 | msg = """\ |
|
2509 | msg = """\ | |
2510 | Proper color support under MS Windows requires the pyreadline library. |
|
2510 | Proper color support under MS Windows requires the pyreadline library. | |
2511 | You can find it at: |
|
2511 | You can find it at: | |
2512 |
http://ipython. |
|
2512 | http://ipython.org/pyreadline.html | |
2513 | Gary's readline needs the ctypes module, from: |
|
2513 | Gary's readline needs the ctypes module, from: | |
2514 | http://starship.python.net/crew/theller/ctypes |
|
2514 | http://starship.python.net/crew/theller/ctypes | |
2515 | (Note that ctypes is already part of Python versions 2.5 and newer). |
|
2515 | (Note that ctypes is already part of Python versions 2.5 and newer). |
@@ -21,7 +21,7 b' Hettinger. http://users.rcn.com/python/download/Descriptor.htm' | |||||
21 | Notes |
|
21 | Notes | |
22 | ----- |
|
22 | ----- | |
23 | This module is taken from the NiPy project |
|
23 | This module is taken from the NiPy project | |
24 |
(http://n |
|
24 | (http://nipy.sourceforge.net/nipy/stable/index.html), and is BSD licensed. | |
25 |
|
25 | |||
26 | Authors |
|
26 | Authors | |
27 | ------- |
|
27 | ------- |
@@ -162,6 +162,6 b" they're automatically exposed as a website. It works like this:" | |||||
162 | .. [Sphinx] Sphinx. http://sphinx.pocoo.org/ |
|
162 | .. [Sphinx] Sphinx. http://sphinx.pocoo.org/ | |
163 | .. [MatplotlibDocGuide] http://matplotlib.sourceforge.net/devel/documenting_mpl.html |
|
163 | .. [MatplotlibDocGuide] http://matplotlib.sourceforge.net/devel/documenting_mpl.html | |
164 | .. [PEP257] PEP 257. http://www.python.org/peps/pep-0257.html |
|
164 | .. [PEP257] PEP 257. http://www.python.org/peps/pep-0257.html | |
165 | .. [NumPyDocGuide] NumPy documentation guide. http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines |
|
165 | .. [NumPyDocGuide] NumPy documentation guide. https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt | |
166 |
.. [NumPyExampleDocstring] NumPy example docstring. |
|
166 | .. [NumPyExampleDocstring] NumPy example docstring. https://raw.github.com/numpy/numpy/master/doc/HOWTO_BUILD_DOCS.rst.txt | |
167 |
|
167 |
@@ -9,9 +9,8 b' install all of its dependencies.' | |||||
9 |
|
9 | |||
10 |
|
10 | |||
11 | Please let us know if you have problems installing IPython or any of its |
|
11 | Please let us know if you have problems installing IPython or any of its | |
12 |
dependencies. Officially, IPython requires Python version |
|
12 | dependencies. Officially, IPython requires Python versions 2.6 to 2.7 and 3.1 | |
13 | is an experimental port of IPython for Python3 `on GitHub |
|
13 | to 3.2. | |
14 | <https://github.com/ipython/ipython-py3k>`_ |
|
|||
15 |
|
14 | |||
16 | .. warning:: |
|
15 | .. warning:: | |
17 |
|
16 | |||
@@ -117,7 +116,7 b' use any of the following alternatives:' | |||||
117 | 1. Install using :command:`easy_install`. |
|
116 | 1. Install using :command:`easy_install`. | |
118 |
|
117 | |||
119 | 2. Install using our binary ``.exe`` Windows installer, which can be found |
|
118 | 2. Install using our binary ``.exe`` Windows installer, which can be found | |
120 |
`here <http://ipython. |
|
119 | `here <http://ipython.org/download.html>`_ | |
121 |
|
120 | |||
122 | 3. Install from source, but using :mod:`setuptools` (``python setupegg.py |
|
121 | 3. Install from source, but using :mod:`setuptools` (``python setupegg.py | |
123 | install``). |
|
122 | install``). | |
@@ -228,7 +227,8 b' installed):' | |||||
228 | have to do this step. |
|
227 | have to do this step. | |
229 |
|
228 | |||
230 | If needed, the readline egg can be build and installed from source (see the |
|
229 | If needed, the readline egg can be build and installed from source (see the | |
231 | wiki page at http://ipython.scipy.org/moin/InstallationOSXLeopard). |
|
230 | wiki page at | |
|
231 | http://web.archive.org/web/20090614162410/ipython.scipy.org/moin/InstallationOSXLeopard). | |||
232 |
|
232 | |||
233 | On Windows, you will need the PyReadline module. PyReadline is a separate, |
|
233 | On Windows, you will need the PyReadline module. PyReadline is a separate, | |
234 | Windows only implementation of readline that uses native Windows calls through |
|
234 | Windows only implementation of readline that uses native Windows calls through |
@@ -122,8 +122,9 b" you'll work on a problem in pieces, organizing related pieces into cells and" | |||||
122 | moving forward as previous parts work correctly. This is much more convenient |
|
122 | moving forward as previous parts work correctly. This is much more convenient | |
123 | for interactive exploration than breaking up a computation into scripts that |
|
123 | for interactive exploration than breaking up a computation into scripts that | |
124 | must be executed together, especially if parts of them take a long time to run |
|
124 | must be executed together, especially if parts of them take a long time to run | |
125 | (you can use tricks with namespaces and ``%run -i``, but we think the notebook |
|
125 | (In the traditional terminal-based IPython, you can use tricks with namespaces | |
126 | is a more natural solution for that kind of problem). |
|
126 | and ``%run -i`` to achieve this capability, but we think the notebook is a more | |
|
127 | natural solution for that kind of problem). | |||
127 |
|
128 | |||
128 | The only significant limitation the notebook currently has, compared to the qt |
|
129 | The only significant limitation the notebook currently has, compared to the qt | |
129 | console, is that it can not run any code that expects input from the kernel |
|
130 | console, is that it can not run any code that expects input from the kernel | |
@@ -145,7 +146,7 b' and then start a qt console pointing to that kernel::' | |||||
145 | Text input |
|
146 | Text input | |
146 | ---------- |
|
147 | ---------- | |
147 |
|
148 | |||
148 |
In addition to code cells and the output they pro |
|
149 | In addition to code cells and the output they produce (such as figures), you | |
149 | can also type text not meant for execution. To type text, change the type of a |
|
150 | can also type text not meant for execution. To type text, change the type of a | |
150 | cell from ``Code`` to ``Markdown`` by using the button or the :kbd:`Ctrl-m m` |
|
151 | cell from ``Code`` to ``Markdown`` by using the button or the :kbd:`Ctrl-m m` | |
151 | keybinding (see below). You can then type any text in Markdown_ syntax, as |
|
152 | keybinding (see below). You can then type any text in Markdown_ syntax, as | |
@@ -200,7 +201,7 b' key bindings you need to remember are:' | |||||
200 | Selected`` button). |
|
201 | Selected`` button). | |
201 |
|
202 | |||
202 | * :kbd:`Ctrl-Enter`: execute the current cell in "terminal mode", where any |
|
203 | * :kbd:`Ctrl-Enter`: execute the current cell in "terminal mode", where any | |
203 |
output is shown but the cursor |
|
204 | output is shown but the cursor stays in the current cell, whose input | |
204 | area is flushed empty. This is convenient to do quick in-place experiments |
|
205 | area is flushed empty. This is convenient to do quick in-place experiments | |
205 | or query things like filesystem content without creating additional cells you |
|
206 | or query things like filesystem content without creating additional cells you | |
206 | may not want saved in your notebook. |
|
207 | may not want saved in your notebook. |
@@ -4,7 +4,7 b'' | |||||
4 | IPython Tips & Tricks |
|
4 | IPython Tips & Tricks | |
5 | ===================== |
|
5 | ===================== | |
6 |
|
6 | |||
7 |
The `IPython cookbook <http://ipython. |
|
7 | The `IPython cookbook <http://wiki.ipython.org/index.php?title=Cookbook>`_ details more | |
8 | things you can do with IPython. |
|
8 | things you can do with IPython. | |
9 |
|
9 | |||
10 | .. This is not in the current version: |
|
10 | .. This is not in the current version: |
@@ -8,7 +8,7 b" You don't need to know anything beyond Python to start using IPython \xe2\x80\x93 just ty" | |||||
8 | commands as you would at the standard Python prompt. But IPython can do much |
|
8 | commands as you would at the standard Python prompt. But IPython can do much | |
9 | more than the standard prompt. Some key features are described here. For more |
|
9 | more than the standard prompt. Some key features are described here. For more | |
10 | information, check the :ref:`tips page <tips>`, or look at examples in the |
|
10 | information, check the :ref:`tips page <tips>`, or look at examples in the | |
11 |
`IPython cookbook <http://ipython. |
|
11 | `IPython cookbook <http://wiki.ipython.org/index.php?title=Cookbook>`_. | |
12 |
|
12 | |||
13 | If you've never used Python before, you might want to look at `the official |
|
13 | If you've never used Python before, you might want to look at `the official | |
14 | tutorial <http://docs.python.org/tutorial/>`_ or an alternative, `Dive into |
|
14 | tutorial <http://docs.python.org/tutorial/>`_ or an alternative, `Dive into |
@@ -21,7 +21,7 b'' | |||||
21 | .. _`ipython manual`: http://ipython.org/documentation.html |
|
21 | .. _`ipython manual`: http://ipython.org/documentation.html | |
22 | .. _ipython_github: http://github.com/ipython/ipython/ |
|
22 | .. _ipython_github: http://github.com/ipython/ipython/ | |
23 | .. _ipython_github_repo: http://github.com/ipython/ipython/ |
|
23 | .. _ipython_github_repo: http://github.com/ipython/ipython/ | |
24 |
.. _ipython_downloads: http://ipython. |
|
24 | .. _ipython_downloads: http://ipython.org/download.html | |
25 | .. _ipython_pypi: http://pypi.python.org/pypi/ipython |
|
25 | .. _ipython_pypi: http://pypi.python.org/pypi/ipython | |
26 |
|
26 | |||
27 | .. _ZeroMQ: http://zeromq.org |
|
27 | .. _ZeroMQ: http://zeromq.org | |
@@ -35,7 +35,7 b'' | |||||
35 | .. _docutils: http://docutils.sourceforge.net |
|
35 | .. _docutils: http://docutils.sourceforge.net | |
36 | .. _lyx: http://www.lyx.org |
|
36 | .. _lyx: http://www.lyx.org | |
37 | .. _pep8: http://www.python.org/dev/peps/pep-0008 |
|
37 | .. _pep8: http://www.python.org/dev/peps/pep-0008 | |
38 | .. _numpy_coding_guide: http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines |
|
38 | .. _numpy_coding_guide: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt | |
39 |
|
39 | |||
40 | .. Licenses |
|
40 | .. Licenses | |
41 | .. _GPL: http://www.gnu.org/licenses/gpl.html |
|
41 | .. _GPL: http://www.gnu.org/licenses/gpl.html |
@@ -275,7 +275,7 b' New features' | |||||
275 | * %edit: If you do '%edit pasted_block', pasted_block variable gets updated |
|
275 | * %edit: If you do '%edit pasted_block', pasted_block variable gets updated | |
276 | with new data (so repeated editing makes sense) |
|
276 | with new data (so repeated editing makes sense) | |
277 |
|
277 | |||
278 |
.. _Numpy Documentation Standard: http |
|
278 | .. _Numpy Documentation Standard: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#docstring-standard | |
279 |
|
279 | |||
280 | .. _argparse: http://code.google.com/p/argparse/ |
|
280 | .. _argparse: http://code.google.com/p/argparse/ | |
281 |
|
281 |
General Comments 0
You need to be logged in to leave comments.
Login now