<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 August 2014 07:00, Mark Bakker <span dir="ltr"><<a href="mailto:markbak@gmail.com" target="_blank">markbak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div>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.</div>



<div><br></div><div>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?</div></blockquote></div>

<br></div><div class="gmail_extra">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).<br>

<br></div><div class="gmail_extra">So don't upload notebooks. Start the notebook in the directory where your notebooks are, or in a parent directory of that.<br><br></div><div class="gmail_extra">My nbopen tool helps with this - it opens a notebook in an already running server, or starts a new one if necessary.<br>

<a href="https://github.com/takluyver/nbopen">https://github.com/takluyver/nbopen</a><br><br></div><div class="gmail_extra">Thomas<br></div></div>