2018-06-01から1ヶ月間の記事一覧
ipythonのコンソールに複数行の命令を張り付けて実行したいときは %cpasteコマンドを使う。 In [1]: %cpaste Pasting code; enter '--' alone on the line to stop or use Ctrl-D. : :a ='Hello.' :print(a) :-- Hello. 気を付けるのは下記の点くらい。 先頭…
ipythonのコンソールに複数行の命令を張り付けて実行したいときは %cpasteコマンドを使う。 In [1]: %cpaste Pasting code; enter '--' alone on the line to stop or use Ctrl-D. : :a ='Hello.' :print(a) :-- Hello. 気を付けるのは下記の点くらい。 先頭…