[IPython-dev] changing working directory from IPython server

Mark Bakker markbak at gmail.com
Mon Aug 11 16:56:19 EDT 2014


Sorry to keep pestering you with this, Brian.

I explored it some more, and narrowed it down to the following.

Let's say my notebook is in /mark/notebooks

When I start ipython notebook in /mark, I can nicely click on the directory
notebooks on the dashboard and open the notebook I want.

If, on the other hand, I start ipython notebook in /mark/Documents. Then
there is no way to 'surf' to the correct /mark/notebooks, as there is no
cd.. place to click to go back to /mark and then to /mark/notebooks. When I
do the  'To import a notebook, drag the file onto the listing below or
*click here*' option, it only let's me 'upload' the selected notebook,
which means copying to the directory where I started ipython notebook.

The Anaconda guys run into exactly this problem, as their nice Notebook
icon starts in /user/Documents/IPython_Notebooks, and you can only surf to
a directory lower than that.

So what I think we need is either a way to surf to a higher directory, or
to have the option to 'click here' as it is now but then not being forced
to 'upload' the notebook.

Mark


From: Brian Granger <ellisonbg at gmail.com>
> Subject: Re: [IPython-dev] changing working directory from IPython
>         server
> To: IPython developers list <ipython-dev at scipy.org>
> Message-ID:
>         <CAH4pYpTmjmdTpjbv3UKe=
> UdrTukpheV2hqcJeebH-zzuPdQ4wQ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Mark,
>
> OK I think I understand, and I don't consider this a bug. If the
> notebook you are starting out with is on the same machine, there is no
> reason to "upload" that notebook. Just navigate the notebook dashboard
> to the directory where that notebook already is and open it. Is there
> some reason you can't do that and are instead trying to upload the
> notebook.
>
> Cheers,
>
> Brian
>
> On Mon, Aug 11, 2014 at 1:11 PM, Mark Bakker <markbak at gmail.com> wrote:
> > Thanks for considering this issue.
> >
> > The behavior now:
> > I type: ipython notebook to start a notebook.
> > At the dashboard,  I click on 'To import a notebook, drag the file onto
> the
> > listing below or *click here*. When I click there, a window pops up, I
> go to
> > the directory with my notebook file, click on it, and then it shows up in
> > the list of files, with next to it a blue Upload button. When I click on
> the
> > Upload button the notebook is copied to the directory where I started the
> > IPython Notebook.
> >
> > The problem: The notebook gets copied to the directory where I started
> > ipython notebook. That is not very useful, as all associated data files
> are
> > still in the directory where the notebook originated.
> >
> > Does that make it clear? Should I file a bug report?
> >
> > Mark
> >
> > ps. It seems that the Anaconda guys are also expecting the behavior of
> the
> > Notebook to change. They now have a useful 'start notebook' icon, but
> that
> > starts in 'Documents/IPython Notebooks. And that faces the same problem
> as I
> > described above.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140811/7e4372a4/attachment.html>


More information about the IPython-dev mailing list