Skip to content

Commit

Permalink
No changes to Python code cells; only description Markdown cells were…
Browse files Browse the repository at this point in the history
… revised for presentation purposes.
  • Loading branch information
njtheron committed Feb 4, 2019
1 parent a3852e3 commit cf31687
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 59 deletions.
48 changes: 9 additions & 39 deletions Section_01_Introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"# Programming and Information Technology\n",
"\n",
"- [Welcome](#Welcome)\n",
"- [Lecture Notes](#Lecture Notes)\n",
"- [Credit Application](#Credit-Application)\n",
"- [Tutorial Sessions](#Tutorial-Sessions)\n",
"- [Lecture Notes](#Lecture-Notes)\n",
"- [Weekly Assignments](#Weekly-Assignments)\n",
"- [Tests & Exams](#Tests-&-Exams)\n",
"- [Plagiarism](#Plagiarism)\n",
Expand Down Expand Up @@ -48,7 +46,7 @@
"\n",
"- Please read the study guide\n",
"\n",
"- All communication via ClickUP\n",
"- All announcements via ClickUP\n",
"\n",
"- Software and study material $\\to$ ClickUP\n",
"\n",
Expand All @@ -64,42 +62,14 @@
"- Download from GitHub (https://github.com/mpr213/lecture-notes/releases)\n",
" - Click on the ``Source code (zip)`` download\n",
" - Save to your PC and extract the files\n",
"- Viewed using Jupyter Notebook (https://jupyter.org) $\\to$ installed through Anaconda (https://www.anaconda.com/download)\n",
"- Viewed using Jupyter Notebook (https://jupyter.org) $\\to$ installed through Anaconda (https://www.anaconda.com/distribution/)\n",
" - see ClickUP (Software section) for installation instructions\n",
"- Make use of ``nbtutor`` (https://github.com/lgpage/nbtutor)\n",
" - see ClickUP (Software section) for installation instructions\n",
"- \"Getting started\" videos on ClickUP (Software section)\n",
"- \"Working with the lecture notes videos\" on ClickUP (Study Material section)"
]
},
{
"cell_type": "markdown",
"metadata": {
"nbpresent": {
"id": "13ff89bd-e2b1-4526-b261-79757cc95f72"
},
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"## Credit Application\n",
"\n",
"- Application form:\n",
" - From Student Administration (Eng. I, Floor 6)\n",
" - Submit completed form to Mr L Page (Eng. III, 6-93) **before 17:00 on 12 February 2018**\n",
" - Along with academic record and study guides\n",
"\n",
"\n",
"- Credit Assessment Exam:\n",
" - Date: **14 February 2018**\n",
" - Venue: NW2 PhD Lab\n",
" - Time: **11:30 to 13:00** (90 minutes)\n",
"\n",
"\n",
"- Detailed instructions $\\to$ Study Guide"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -130,15 +100,15 @@
}
},
"source": [
"## Weekly Assignments\n",
"## Weekly Tutorial Assignments\n",
"- Covers the concepts discussed in class the previous week.\n",
"- Not compulsory $\\to$ not for marks\n",
"- Will be uploaded to ClickUP\n",
"- Due each week Friday $\\to$ Feedback provided Monday or Tuesday\n",
"- Best form of practice and preparation for tests and exams\n",
"- Detailed instructions on ClickUP !!\n",
" - All answers will be marked electronically (I.e. by a computer)\n",
" - All answers are graded binary (right or wrong)"
" - All answers are graded binary (right or wrong)\n",
"- Marks will contribute towards the semester mark (see $\\S$6.4 of the Study Guide)"
]
},
{
Expand All @@ -156,7 +126,7 @@
"\n",
"- Closed book tests.\n",
"- Written in the computer labs, with access to a PC\n",
"- Anaconda, Jupyter-Notebook, Spyder, and LibreOffice help documentation is available\n",
"- Anaconda, Jupyter-Notebook and Microsift Excel help documentation is available\n",
"- Detailed test instruction $\\to$ ClickUP"
]
},
Expand Down Expand Up @@ -190,7 +160,7 @@
" - [Plagiarism.org](http://www.plagiarism.org/article/what-is-plagiarism)\n",
"\n",
"\n",
"- Plagiarism degrades the integrity of your qualification at the end of the day"
"- Plagiarism degrades the integrity of your qualification at the end of the day."
]
},
{
Expand Down Expand Up @@ -343,7 +313,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.3"
},
"nbpresent": {
"slides": {},
Expand Down
59 changes: 39 additions & 20 deletions Section_02_Basic_Programming.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
"\n",
"\n",
"- Overview on what you see on *Anaconda Navigator*\n",
" - Launching *Jupyter* and/or *Spyder*\n",
" - Launching *Jupyter*\n",
" - The *Learning* tab and documentation\n",
"\n",
"\n",
"- *Anaconda Navigator* takes a while to start up\n",
" - Easier to launch *Jupyter* or *Spyder* via the Windows Menu\n",
" - Easier to launch *Jupyter* via the Windows Menu\n",
"\n",
"\n",
"- Overview on what you see in the *Jupyter Home* window\n",
Expand All @@ -43,7 +43,11 @@
"\n",
"- Running *Jupyter* from a specific folder:\n",
" - Open Windows Explorer $\\to$ Navigate to folder with *Jupyter Notebooks*\n",
" - Type `jupyter notebook` into *Address Bar* and hit `Enter`"
" - Type `jupyter-notebook` into *Address Bar* and hit `Enter`\n",
" - See video at [https://youtu.be/yCAWLgoo94Y](https://youtu.be/yCAWLgoo94Y) for this way to start Jupyter Notebook\n",
" \n",
" \n",
"- See [https://youtu.be/sJ8UY9xDP-4](https://youtu.be/sJ8UY9xDP-4) on different ways to start *Jupyter*"
]
},
{
Expand All @@ -59,7 +63,7 @@
" - Saving *Notebook*s\n",
"\n",
"\n",
"- See \"getting started\" videos on ClickUP"
"- See \"getting started\" video on ClickUP, or [https://youtu.be/uYWRE0hX2Xo](https://youtu.be/uYWRE0hX2Xo)"
]
},
{
Expand Down Expand Up @@ -705,21 +709,6 @@
"print(rhs)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Note on startup of Jupyter Notebook:\n",
"\n",
"Depending on the computer resources, one may get an `IOPub data rate exceeded` error in the next code cell, where the command `help(numpy)` is executed. If you experience this problem, it may be avoided by starting Jupyter Notebook from an Anaconda Prompt, with the following:\n",
"\n",
"jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10\n",
"\n",
"The figure below shows this, for a Windows 7 installation, where prior to issuing this command, in the first line, the default folder location has been changed with the DOS \"cd\" command, followed by hitting three \"Enter\"-s to get a clearer picture.\n",
"\n",
"<img src=\"figures\\anaconda-promp-start.PNG\" style=\"width: 800px;\"/>"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -750,6 +739,36 @@
"help(numpy)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Note on startup of Jupyter Notebook:\n",
"\n",
"Depending on the computer resources, one may get an `IOPub data rate exceeded` error in the previous code cell, where the command `help(numpy)` is executed. If you experience this problem, it may be avoided by starting Jupyter Notebook from either a Windows Command Prompt, or an Anaconda Prompt.\n",
"\n",
"### Starting Jupyter Notebook from a Windows Command Prompt\n",
"\n",
"Start a Windows Command Prompt and issue the following command from inside the Command Prompt:\n",
"\n",
"`jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10`\n",
"\n",
"If one wants to start Jupyter Notebook from a specific folder, one needs to first change the default folder location with the DOS `cd` command. The figure below shows this, for a Windows 10 installation, where prior to issuing this command, in the first line (indicated by the green arrow), the default folder location has been changed with the DOS `cd` command to the path shown underlined in green, followed by hitting four \"Enter\"-s to get a clearer picture. The above command was then issued (indicated by the red arrow and underlined in red).\n",
"\n",
"<img src=\"figures\\windows-command-promp-start.PNG\" style=\"width: 800px;\"/>\n",
"\n",
"\n",
"### Starting Jupyter Notebook from an Anaconda Prompt\n",
"\n",
"If on installation of Anaconda one did **not** select to add Anaconda to the PATH environment variable (as was very strongly advised), one will not be able to start Jupyter Notebook from the Windows Command Prompt. In such a case one can start it form an Anaconda Prompt, with the following (the same command):\n",
"\n",
"`jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10`\n",
"\n",
"The figure below shows this, for a Windows 7 installation, where prior to issuing this command, in the first line, the default folder location has been changed with the DOS `cd` command, followed by hitting three \"Enter\"-s to get a clearer picture.\n",
"\n",
"<img src=\"figures\\anaconda-promp-start.PNG\" style=\"width: 800px;\"/>"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -989,7 +1008,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.6.3"
},
"nbpresent": {
"slides": {},
Expand Down
Binary file added figures/windows-command-promp-start.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf31687

Please sign in to comment.