You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _extras/guide.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ title: "Instructor Notes"
9
9
10
10
11
11
## Course Design
12
+
12
13
The course follows a narrative around
13
14
a software development team working on an existing software project
14
15
that is analysing patients’ inflammation data
@@ -41,6 +42,7 @@ The course has been separated into 5 sections:
41
42
Each section can be approximately delivered in a half-day but even better if you can allow 1 day per section.
42
43
43
44
## Course Delivery
45
+
44
46
The course is intended primarily for self-learning
45
47
but other modes of delivery have been used successfully
46
48
(e.g. fully instructor-led code-along mode or mixing in elements of instructor-led with self-work).
@@ -87,7 +89,16 @@ to make sure everyone is in sync as much as possible and are working on similar
87
89
This synchronisation becomes particularly important for later workshop stages
88
90
when students start with group exercises.
89
91
92
+
Although not explicitly endorsed,
93
+
it is quite possible for learners to do the course using VS Code instead of PyCharm.
94
+
There is a section for setting up VS Code in the [this adjacent extras page](../vscode).
95
+
However, when progressing through the section [Integrated Software Development Environments](../13-ides),
96
+
it can be a bit difficult for learners to pay attention to both pages.
97
+
Therefore, some instructors have found it helpful to perform a demonstration on their own machines of how to use VS Code to achieve the same functionality as PyCharm.
98
+
It is worthwhile preparing this in advance of the session.
99
+
90
100
### Helpers Roles and Responsibilities
101
+
91
102
At the workshop, when using the "self-learning with helpers" delivery mode, everyone in the training team is a helper and
92
103
there are no instructors per se.
93
104
You may have more experienced helpers delivering introductions to the workshop and sections.
@@ -110,8 +121,13 @@ Roles and responsibilities of helpers include:
110
121
- Helping students get through the material
111
122
but also being ready to answer questions on applying the material in learners’ domains,
112
123
if possible
124
+
- Monitoring the progress of students
125
+
- get up every now and then and do a walk around the room, look at stickies and have a peak at
126
+
computer screens (particularly if the session is running a bit behind)
127
+
- ask any learners that you might have helped previously how they are getting on
113
128
114
129
### Group Exercises
130
+
115
131
Here is some advice on how best to sync and organise group exercises in later stages of the course.
Copy file name to clipboardExpand all lines: _extras/vscode.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,32 @@ in the VS Code sidebar:
18
18
19
19
{: .image-with-shadow width="800px" }
20
20
21
-
In the search box, type "python" and select the Intellisense Python extension by Microsoft,
22
-
then click the "Install" button to install the extension. You may be asked to reload the VS Code IDE for the changes
23
-
to take effect.
21
+
In the search box, type "python" and select the Intellisense Python extension by Microsoft,
22
+
then click the "Install" button to install the extension.
23
+
You may be asked to reload the VS Code IDE for the changes to take effect.
24
24
25
25
{: .image-with-shadow width="800px" }
26
26
27
+
### Using VS Code with Windows Subsystem for Linux
28
+
29
+
If you are developing software on Windows,
30
+
and particularly software that comes from or targets Unix or Linux systems,
31
+
it can be advantageous to use [WSL (Windows Subsystem for Linux)][wsl].
32
+
Although this course does not explicitly support WSL,
33
+
we will provide some guidance here on how to best link up WSL with VS Code (if that is your use case).
34
+
In your WSL terminal, navigate to the project folder for this course and execute the command:
35
+
36
+
```bash
37
+
code .
38
+
```
39
+
40
+
This should launch VS Code in a way that ensures it performs most operations within WSL.
41
+
To do this, the [WSL - Remote extension][vscode-wsl-extension]
42
+
for VS Code should automatically be installed.
43
+
If this does not happen, please install the extension manually.
44
+
You can also launch WSL sessions from VS Code itself using the
45
+
[instructions on the extension page.][vscode-wsl-extension-launch-options]
46
+
27
47
## Using the VS Code IDE
28
48
29
49
Let us open our software project in VS Code and familiarise ourselves with some commonly used features needed for this course.
@@ -85,7 +105,7 @@ For this course you will need to install `pytest`, `numpy` and `matplotlib`. Sta
85
105
following:
86
106
87
107
~~~
88
-
pip install numpy matplotlib pytest
108
+
python3 -m pip install numpy matplotlib pytest
89
109
~~~
90
110
{: .language-bash}
91
111
@@ -98,7 +118,7 @@ Pip will usually inform you via a warning if a newer version is available.
98
118
You can upgrade pip by running the following from the terminal:
99
119
100
120
~~~
101
-
pip install --upgrade pip
121
+
python3 -m pip install --upgrade pip
102
122
~~~
103
123
{: .language-bash}
104
124
@@ -175,3 +195,8 @@ When clicking on a test you will see two icons,
175
195
the ordinary Run/Play icon, and a Run/Play icon with a bug.
176
196
The latter allows you to run the tests in debug mode
177
197
useful for obtaining further information as to why a failure has occurred - this will be covered in the main lesson material.
0 commit comments