Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iPythonで長いテキスト変数を表示する必要があることがよくあります。私は通常、これにスクロールバッファーを使用しますが、検索機能を備えたポケットベルが本当に必要です。iPythonには、ポケットベルで長い変数(たとえば、less)を表示する方法がありますか?そうでない場合、私は確かに!でこれを行う方法を考案することができます。
注:一般的なポケットベルの設定方法については質問していません。?、??、%pdocなどはすべてlessで正常に動作します。特にページング変数を求めています。
回答:%page
使用例:
snafu$ ipython In [1]: import httplib2 In [2]: resp,data = httplib2.Http().request('http://google.com') In [3]: %page data
ipythonでPipeを使用する方法からの回答