LoginSignup
5
4

More than 5 years have passed since last update.

「オープンソースで学ぶ社会ネットワーク分析」におけるpythonコマンド

Posted at

オープンソースで学ぶ社会ネットワーク分析――ソーシャルWebの「つながり」を見つけ出す」の文中のpythonサンプルを写経するために適切なコマンドライン例:

シェルコマンド
ipython -i -c '%doctest_mode' --pylab

明示的にそう書いていない箇所でもおそらくpylab指定のIpython環境を前提にしている。サンプル中のプロンプトは >>> なのでdoctest_modeも設定しているはず。

このジャンルのPython本の対話型のサンプルはもしかしたらたいていdoctest_modeのIpython用に書かれているものなのかもしれない。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4