[IPython-dev] IPython (new) + matplotlib report: happy news
Thu Sep 16 17:17:15 CDT 2010
On 9/16/10 3:36 PM, Fernando Perez wrote:
> On Tue, Sep 14, 2010 at 8:21 AM, John Hunter<firstname.lastname@example.org> wrote:
>> How about this as an alternative: on my box, I can drag the "source
>> code" link from the browser into my terminal, which by default pastes
>> the URL of the referenced *.py into the terminal. If "run" supported
>> a -w (web) option, or automatically detected that the URL starts with
>> http, it could do a web run of the file. Of course, you may want the
>> source code pasted in for illustrative purposes... To support this,
>> you could add a -u (url) option to "paste" which assumes the input is
>> a url, fetches it, and pastes the contents into ipython. So you could
>> type "paste -u" and then drag the link into the terminal, and it would
>> fetch it and paste the code into an input block.
> Ask and ye shall receive (yes, the url was drag-dropped from the
> 'source code' link in the mpl page), welcome %loadpy:
> Full credits go to Brian and Evan!
I see there is an In missing.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the IPython-dev