IPython 0.13.1 のドキュメントには次のように書かれています。
$ ipython -h
...
Usage
ipython [subcommand] [options] [files]
If invoked with no options, it executes all the files listed in sequence
and exits, use -i to enter interactive mode after running the files.
...
私は2つのファイルfoo.py
とbar.py
.
foo.py
:
print "Hi, I'm foo."
bar.py
:
print "Hi, I'm bar."
以下は、対応する順序で両方のファイル出力を印刷することを期待しています。代わりに、コマンドラインで指定された最初のファイルからのみ出力を取得します。
$ ipython foo.py bar.py
Hi, I'm foo.
$ ipython bar.py foo.py
Hi, I'm bar.
それは実装のバグですか、ドキュメントのバグですか、それともユーザーの誤解ですか? 後者の場合、代わりに何をすべきですか?