How to open a .py file in a new notebook? I know how to create a new notebook from scratch. How to import a local .py file into a notebook? thanks
--
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 jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/e899691a-c57d-4c78-b231-e614308a72c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can copy/paste it, or you can run a cell containing "%load some_file.py". Sorry, there's no more obvious way to import code from a .py file.
On 5 May 2018 at 18:29, Paul Gureghian <paulgu...@gmail.com> wrote:
How to open a .py file in a new notebook? I know how to create a new notebook from scratch. How to import a local .py file into a notebook? thanks
--
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 jupyter+u...@googlegroups.com.
What is the exact syntax for the command to import it programmatically ?