Show More
@@ -522,7 +522,15 b' class ExecutionMagics(Magics):' | |||||
522 |
|
522 | |||
523 | %run [-n -i -e -G] |
|
523 | %run [-n -i -e -G] | |
524 | [( -t [-N<N>] | -d [-b<N>] | -p [profile options] )] |
|
524 | [( -t [-N<N>] | -d [-b<N>] | -p [profile options] )] | |
525 | ( -m mod | file ) [args] |
|
525 | ( -m mod | filename ) [args] | |
|
526 | ||||
|
527 | The filename argument should be either a pure Python script (with | |||
|
528 | extension `.py`), or a file with custom IPython syntax (such as | |||
|
529 | magics). If the latter, the file can be either a script with `.ipy` | |||
|
530 | extension, or a Jupyter notebook with `.ipynb` extension. When running | |||
|
531 | a Jupyter notebook, the output from print statements and other | |||
|
532 | displayed objects will appear in the terminal (even matplotlib figures | |||
|
533 | will open, if a terminal-compliant backend is being used). | |||
526 |
|
534 | |||
527 | Parameters after the filename are passed as command-line arguments to |
|
535 | Parameters after the filename are passed as command-line arguments to | |
528 | the program (put in sys.argv). Then, control returns to IPython's |
|
536 | the program (put in sys.argv). Then, control returns to IPython's |
General Comments 0
You need to be logged in to leave comments.
Login now