Show More
@@ -302,7 +302,7 b' overridden by the ``config_file`` command line flag.' | |||||
302 |
|
302 | |||
303 | To generate the default configuration files, do:: |
|
303 | To generate the default configuration files, do:: | |
304 |
|
304 | |||
305 |
$ |
|
305 | $ ipython profile create | |
306 |
|
306 | |||
307 | and you will have a default :file:`ipython_config.py` in your IPython directory |
|
307 | and you will have a default :file:`ipython_config.py` in your IPython directory | |
308 | under :file:`profile_default`. If you want the default config files for the |
|
308 | under :file:`profile_default`. If you want the default config files for the | |
@@ -318,10 +318,10 b' profile with:' | |||||
318 |
|
318 | |||
319 | .. sourcecode:: bash |
|
319 | .. sourcecode:: bash | |
320 |
|
320 | |||
321 |
$ |
|
321 | $ ipython locate | |
322 | /home/you/.ipython |
|
322 | /home/you/.ipython | |
323 |
|
323 | |||
324 |
$ |
|
324 | $ ipython locate profile foo | |
325 | /home/you/.ipython/profile_foo |
|
325 | /home/you/.ipython/profile_foo | |
326 |
|
326 | |||
327 | These map to the utility functions: :func:`IPython.utils.path.get_ipython_dir` |
|
327 | These map to the utility functions: :func:`IPython.utils.path.get_ipython_dir` | |
@@ -356,7 +356,7 b' The general pattern is this: simply create a new profile with:' | |||||
356 |
|
356 | |||
357 | .. code-block:: bash |
|
357 | .. code-block:: bash | |
358 |
|
358 | |||
359 | ipython profile create <name> |
|
359 | $ ipython profile create <name> | |
360 |
|
360 | |||
361 | which adds a directory called ``profile_<name>`` to your IPython directory. Then |
|
361 | which adds a directory called ``profile_<name>`` to your IPython directory. Then | |
362 | you can load this profile by adding ``--profile=<name>`` to your command line |
|
362 | you can load this profile by adding ``--profile=<name>`` to your command line | |
@@ -410,7 +410,7 b' object. Values are assigned in much the same way as in a config file:' | |||||
410 |
|
410 | |||
411 | .. code-block:: bash |
|
411 | .. code-block:: bash | |
412 |
|
412 | |||
413 |
$ |
|
413 | $ ipython --InteractiveShell.use_readline=False --BaseIPythonApplication.profile='myprofile' | |
414 |
|
414 | |||
415 | Is the same as adding: |
|
415 | Is the same as adding: | |
416 |
|
416 | |||
@@ -434,7 +434,7 b' that are single characters, in which case they can be specified with a single ``' | |||||
434 |
|
434 | |||
435 | .. code-block:: bash |
|
435 | .. code-block:: bash | |
436 |
|
436 | |||
437 |
$ |
|
437 | $ ipython -i -c "import numpy; x=numpy.linspace(0,1)" --profile testing --colors=lightbg | |
438 |
|
438 | |||
439 | Aliases |
|
439 | Aliases | |
440 | ******* |
|
440 | ******* | |
@@ -444,11 +444,11 b' to specify the whole class name:' | |||||
444 |
|
444 | |||
445 | .. code-block:: bash |
|
445 | .. code-block:: bash | |
446 |
|
446 | |||
447 |
$ |
|
447 | $ ipython --profile myprofile | |
448 | # and |
|
448 | # and | |
449 |
$ |
|
449 | $ ipython --profile='myprofile' | |
450 | # are equivalent to |
|
450 | # are equivalent to | |
451 |
$ |
|
451 | $ ipython --BaseIPythonApplication.profile='myprofile' | |
452 |
|
452 | |||
453 | Flags |
|
453 | Flags | |
454 | ***** |
|
454 | ***** | |
@@ -461,17 +461,17 b' For instance:' | |||||
461 |
|
461 | |||
462 | .. code-block:: bash |
|
462 | .. code-block:: bash | |
463 |
|
463 | |||
464 |
$ |
|
464 | $ ipcontroller --debug | |
465 | # is equivalent to |
|
465 | # is equivalent to | |
466 |
$ |
|
466 | $ ipcontroller --Application.log_level=DEBUG | |
467 | # and |
|
467 | # and | |
468 |
$ |
|
468 | $ ipython --matploitlib | |
469 | # is equivalent to |
|
469 | # is equivalent to | |
470 |
$ |
|
470 | $ ipython --matplotlib auto | |
471 | # or |
|
471 | # or | |
472 |
$ |
|
472 | $ ipython --no-banner | |
473 | # is equivalent to |
|
473 | # is equivalent to | |
474 |
$ |
|
474 | $ ipython --TerminalIPythonApp.display_banner=False | |
475 |
|
475 | |||
476 | Subcommands |
|
476 | Subcommands | |
477 | ----------- |
|
477 | ----------- | |
@@ -483,14 +483,14 b' Some IPython applications have **subcommands**. Subcommands are modeled after' | |||||
483 |
|
483 | |||
484 | .. code-block:: bash |
|
484 | .. code-block:: bash | |
485 |
|
485 | |||
486 |
$ |
|
486 | $ ipython qtconsole --profile myprofile | |
487 |
|
487 | |||
488 | and :command:`ipcluster` is simply a wrapper for its various subcommands (start, |
|
488 | and :command:`ipcluster` is simply a wrapper for its various subcommands (start, | |
489 | stop, engines). |
|
489 | stop, engines). | |
490 |
|
490 | |||
491 | .. code-block:: bash |
|
491 | .. code-block:: bash | |
492 |
|
492 | |||
493 |
$ |
|
493 | $ ipcluster start --profile=myprofile -n 4 | |
494 |
|
494 | |||
495 |
|
495 | |||
496 | To see a list of the available aliases, flags, and subcommands for an IPython application, simply pass ``-h`` or ``--help``. And to see the full list of configurable options (*very* long), pass ``--help-all``. |
|
496 | To see a list of the available aliases, flags, and subcommands for an IPython application, simply pass ``-h`` or ``--help``. And to see the full list of configurable options (*very* long), pass ``--help-all``. |
General Comments 0
You need to be logged in to leave comments.
Login now