[IPython-dev] Best approach for uploading files through the Notebook?
Tue Jun 26 20:58:28 CDT 2012
On Tue, Jun 26, 2012 at 6:31 PM, Fernando Perez <firstname.lastname@example.org> wrote:
> On Tue, Jun 26, 2012 at 6:26 PM, Carl Smith <email@example.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
> and then saves the files in the notebook directory.
But saving the file requires a server side handler. We would have to
make changes to both sides to do this.
> Can be done completely client-side as a magic without any changes to
> the notebook server.
> IPython-dev mailing list
Brian E. Granger
Cal Poly State University, San Luis Obispo
firstname.lastname@example.org and email@example.com
More information about the IPython-dev