mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-10 19:38:02 +00:00
Change written queue file to queue_list to avoid conflicting with IPython Notebook.
This commit is contained in:
@@ -90,7 +90,8 @@
|
|||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%%writefile queue.py\n",
|
"%%writefile queue_list.py\n",
|
||||||
|
"# Need to avoid naming this queue.py as it will conflict with IPython Notebook\n",
|
||||||
"\n",
|
"\n",
|
||||||
"class Node(object):\n",
|
"class Node(object):\n",
|
||||||
" def __init__(self, data):\n",
|
" def __init__(self, data):\n",
|
||||||
@@ -135,7 +136,7 @@
|
|||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"%run queue.py"
|
"%run queue_list.py"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
# Need to avoid naming this queue.py as it will conflict with IPython Notebook
|
||||||
|
|
||||||
class Node(object):
|
class Node(object):
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
|
|||||||
Reference in New Issue
Block a user