mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Change written queue file to queue_list to avoid conflicting with IPython Notebook.
This commit is contained in:
parent
5ea9db57f1
commit
419c10a255
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user