Arthur,

If your server is running locally and in the same directory as your *.py
files, you can import them like you would any other package.

If they are somewhere else, you'll need to append that directory to
sys.path -- e.g., import sys; sys.path.append("/path/to/previous/work.py").

Does that answer your question?
-p

On Thu, Dec 6, 2018 at 9:12 AM Arthur Goldberg <[email protected]>
wrote:

> jupyter/scipy-notebook runs a local server. how does one reference local
> files in python code in a notebook using jupyter/scipy-notebook?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/ae7a700c-f5aa-4b09-b26c-1aeedf834c0d%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/ae7a700c-f5aa-4b09-b26c-1aeedf834c0d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CADT3MEDNRKjEvxbF-JA3Jgh8Zg9Ji45SJVQXmBiGbFLudtU1DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to