[IPython-dev] Absolute Path IPython

Lucien Boillod lucienboillod at gmail.com
Tue Sep 23 04:52:34 EDT 2014


What I simply tried to say is we can’t go down repository when we open a notebook.
Example we are in Documents/ and we open a new notebook. Now we can’t open a file which is before 
Documents/ we only can hike the path from Documents/../.. and can’t ../../Documents. 
Le 23 sept. 2014 à 09:43, Matthias Bussonnier <bussonniermatthias at gmail.com> a écrit :

> Hi Lucien, 
> 
> Can you give more context to what you are trying to achieve ? Like an example or a link to your project?
> Usually you should be able to use absolute path in IPython to read files. 
> 
> Cheers,
> -- 
> M
> 
> Envoyé de mon iPhone
> 
>> Le 23 sept. 2014 à 09:27, Lucien Boillod <lucienboillod at gmail.com> a écrit :
>> 
>> Hello,
>> 
>> Why can we not do a absolute path to find or read some files ? This is really a inconvenience because I would like the user can access, anywhere he is, to the documentation installed in a folder into my project, but without he has to find the way. But I can’t implement a magic_command line like “doc”, that open the file “index.ipynb” which is installed inside the project in a predefined path, because it’s not all allow absolute PATH.
>> So if you have a simple way to do my trick … 
>> 
>> Kindest regards
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list