mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-08 10:28:03 +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": [],
|
||||
"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",
|
||||
"class Node(object):\n",
|
||||
" def __init__(self, data):\n",
|
||||
@@ -135,7 +136,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"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):
|
||||
def __init__(self, data):
|
||||
|
||||
Reference in New Issue
Block a user