Change written queue file to queue_list to avoid conflicting with IPython Notebook.

This commit is contained in:
Donne Martin 2015-05-16 08:43:12 -04:00
parent 5ea9db57f1
commit 419c10a255
2 changed files with 4 additions and 2 deletions

View File

@ -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"
]
},
{

View File

@ -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):