[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 <email@example.com> wrote:
> On Tue, Jun 26, 2012 at 6:26 PM, Carl Smith <firstname.lastname@example.org> 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
email@example.com and firstname.lastname@example.org
More information about the IPython-dev