Nice one, Fernando.
Before long, we'll need to be able to download files too. It might be
nice to have a graphical file browser with these kinds of features
that you can open with a magic. I'll think about it some more and
maybe write something later. For now, I think your suggestion will
keep people happy.
On 27 June 2012 02:31, Fernando Perez <fperez.net@gmail.com> wrote:
> On Tue, Jun 26, 2012 at 6:26 PM, Carl Smith <carl.input@gmail.com> wrote:
>> This is for NotebookCloud, so there's no option to just use ssh. There
>> should, if there isn't already, be an easy way to chuck data into a
>> notebook and have it upload onto the server. There's a few ways it
>> could be done, and the user has found a workaround, but I just
>> wondered what you guys thought.
>> Easiest solution: write a magic function, called %upload, that
> triggers the javascript to invoke the browser's file upload dialog,
> and then saves the files in the notebook directory.
>> Can be done completely client-side as a magic without any changes to
> the notebook server.
>> Cheers,
>> f
> _______________________________________________
> IPython-dev mailing list
>IPython-dev@scipy.org>http://mail.scipy.org/mailman/listinfo/ipython-dev