Show More
@@ -24,15 +24,9 b'' | |||
|
24 | 24 | "This is made difficult by the fact that Notebooks are not plain Python files,\n", |
|
25 | 25 | "and thus cannot be imported by the regular Python machinery.\n", |
|
26 | 26 | "\n", |
|
27 | "There is a flag in the notebook server that provides a certain workaround for a small set of cases,\n", | |
|
28 | "but I think it's gross so I won't even discuss it.\n", | |
|
29 | "\n", | |
|
30 | 27 | "Fortunately, Python provides some fairly sophisticated [hooks](http://www.python.org/dev/peps/pep-0302/) into the import machinery,\n", |
|
31 | 28 | "so we can actually make IPython notebooks importable without much difficulty,\n", |
|
32 |
"and only using public APIs. |
|
|
33 | "\n", | |
|
34 | "Forgive me if some of this is gross or wrong,\n", | |
|
35 | "I haven't really written import hooks before." | |
|
29 | "and only using public APIs." | |
|
36 | 30 | ] |
|
37 | 31 | }, |
|
38 | 32 | { |
General Comments 0
You need to be logged in to leave comments.
Login now