Show More
@@ -10,7 +10,11 b'' | |||||
10 | import os |
|
10 | import os | |
11 | import sys |
|
11 | import sys | |
12 |
|
12 | |||
13 | from Queue import Empty |
|
13 | try: | |
|
14 | from queue import Empty # Py 3 | |||
|
15 | except ImportError: | |||
|
16 | from Queue import Empty # Py 2 | |||
|
17 | ||||
14 | from IPython.kernel import KernelManager |
|
18 | from IPython.kernel import KernelManager | |
15 | from IPython.nbformat.current import reads, NotebookNode, writes |
|
19 | from IPython.nbformat.current import reads, NotebookNode, writes | |
16 |
|
20 |
General Comments 0
You need to be logged in to leave comments.
Login now