Show More
@@ -27,15 +27,16 b' Tools for Interactive Computing in Python' | |||||
27 |
|
27 | |||
28 | Usage |
|
28 | Usage | |
29 |
|
29 | |||
30 | ipython [subcommand] [options] [-c cmd | -m mod | file] [arg] ... |
|
30 | ipython [subcommand] [options] [-c cmd | -m mod | file] [--] [arg] ... | |
31 |
|
31 | |||
32 | If invoked with no options, it executes the file and exits, passing the |
|
32 | If invoked with no options, it executes the file and exits, passing the | |
33 | remaining arguments to the script, just as if you had specified the same |
|
33 | remaining arguments to the script, just as if you had specified the same | |
34 |
command with python. |
|
34 | command with python. You may need to specify `--` before args to be passed | |
35 | will enter an interactive IPython session after running the script, rather |
|
35 | to the script, to prevent IPython from attempting to parse them. If you | |
36 | than exiting. Files ending in .py will be treated as normal Python, but |
|
36 | specify the option `-i` before the filename, it will enter an interactive | |
37 | files ending in .ipy can contain special IPython syntax (magic commands, |
|
37 | IPython session after running the script, rather than exiting. Files ending | |
38 | shell expansions, etc.) |
|
38 | in .py will be treated as normal Python, but files ending in .ipy can | |
|
39 | contain special IPython syntax (magic commands, shell expansions, etc.). | |||
39 |
|
40 | |||
40 | Almost all configuration in IPython is available via the command-line. Do |
|
41 | Almost all configuration in IPython is available via the command-line. Do | |
41 | `ipython --help-all` to see all available options. For persistent |
|
42 | `ipython --help-all` to see all available options. For persistent |
General Comments 0
You need to be logged in to leave comments.
Login now