Skip to content

Commit

Permalink
updated path logic. better explanation of upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
joncbates committed May 30, 2015
1 parent 6c90caa commit 662fc62
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lab0_student.ipynb
Expand Up @@ -68,10 +68,8 @@
"# Check loading data with sc.textFile\n",
"import os.path\n",
"baseDir = os.path.join('data')\n",
"dbcDir = os.path.join('mnt', 'spark-mooc')\n",
"inputFile = os.path.join('cs100', 'lab1', 'shakespeare.txt')\n",
"dbcFile, localFile = os.path.join(dbcDir, inputFile), os.path.join(baseDir, inputFile)\n",
"fileName = localFile if os.path.isfile(localFile) else dbcFile\n",
"inputPath = os.path.join('cs100', 'lab1', 'shakespeare.txt')\n",
"fileName = os.path.join(baseDir, inputPath)\n",
"\n",
"rawData = sc.textFile(fileName)\n",
"shakespeareCount = rawData.count()\n",
Expand Down Expand Up @@ -231,8 +229,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### You have completed the lab. To submit the lab for grading you will need to download it from your IPython Notebook environment. You can do this by clicking on \"File\", then hovering your mouse over \"Download as\", and then clicking on \"Python (.py)\". This will export your IPython Notebook as a .py file to your computer. This file should be uploaded to the course autograder.\n",
"#### To upload, go to the edX website and find the page for submitting this assignment. Click \"Choose file\", then navigate to and click on the downloaded .py file. Now click the \"Open\" button and then the \"Check\" button. Your submission will be graded shortly and will be available on the page where you submitted. Note that when submission volumes are high, it may take as long as an hour to receive results."
"#### You have completed the lab. To submit the lab for grading you will need to download it from your IPython Notebook environment. You can do this by clicking on \"File\", then hovering your mouse over \"Download as\", and then clicking on \"Python (.py)\". This will export your IPython Notebook as a .py file to your computer.\n",
"#### To upload this file to the course autograder, go to the edX website and find the page for submitting this assignment. Click \"Choose file\", then navigate to and click on the downloaded .py file. Now click the \"Open\" button and then the \"Check\" button. Your submission will be graded shortly and will be available on the page where you submitted. Note that when submission volumes are high, it may take as long as an hour to receive results."
]
}
],
Expand Down

0 comments on commit 662fc62

Please sign in to comment.