[IPython-dev] changing working directory from IPython server

Brian Granger ellisonbg at gmail.com
Mon Aug 11 10:51:22 EDT 2014

I don't remember that we made the decision to have this behavior. It
is possibly I just don't remember, but today I would consider that to
be a bug. Mark, could you open a GitHub issue on this to trigger a



On Fri, Aug 8, 2014 at 10:51 AM, Thomas Kluyver <takowl at gmail.com> wrote:
> On 8 August 2014 07:00, Mark Bakker <markbak at gmail.com> wrote:
>> What I do is 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 got
>> to the directory with my ipython 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.
>> But I don't want to copy the Notebook to that directory (also cause the
>> data files associated with the notebook are still in the old directory). Am
>> I doing something wrong?
> That is by design, though I agree that it's rather strange. An unfortunate
> result of building the notebook as a browser UI and a web server is that
> some parts behave like a desktop app, and some behave like a web app. The
> original notion of files was designed like a web app - you upload files to
> the server, and it works with the uploaded copy, ignoring the file it
> originally came from (if it wasn't running locally, it wouldn't be able to
> access the original file).
> So don't upload notebooks. Start the notebook in the directory where your
> notebooks are, or in a parent directory of that.
> My nbopen tool helps with this - it opens a notebook in an already running
> server, or starts a new one if necessary.
> https://github.com/takluyver/nbopen
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com

More information about the IPython-dev mailing list