%run を使用してファイルのサブセットを実行する方法はありますか?
このようなもの:
$ ipython
In [1]: %run my_code.py -L 20 100 # executes lines 20-100 in ipython interpereter
%run を使用してファイルのサブセットを実行する方法はありますか?
このようなもの:
$ ipython
In [1]: %run my_code.py -L 20 100 # executes lines 20-100 in ipython interpereter