I was so fixated on importing it with menu items and mouse clicks I totally didn't even think of copying and pasting
Hard to believe it cant be imported with menu items. What is the exact syntax for the command to import it programmatically ? On Saturday, May 5, 2018 at 10:04:42 AM UTC-7, takowl wrote: > > 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 <[email protected] <javascript:>> > 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jupyter/e899691a-c57d-4c78-b231-e614308a72c4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jupyter/e899691a-c57d-4c78-b231-e614308a72c4%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/545d5932-21b6-437d-9dfe-5fdaf12e08bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
