1 00:00:04,960 --> 00:00:20,000 [Music] 2 00:00:20,560 --> 00:00:24,320 welcome back and sorry for the delay uh 3 00:00:22,439 --> 00:00:26,920 with technical difficulties but uh we 4 00:00:24,320 --> 00:00:29,160 bring to you now H hegen so he's come 5 00:00:26,920 --> 00:00:31,240 from Hong Kong uh he was telling me 6 00:00:29,160 --> 00:00:33,320 before that he was one of the founders 7 00:00:31,240 --> 00:00:35,480 of Pon in Hong Kong and has been running 8 00:00:33,320 --> 00:00:37,480 that for 10 years which is really 9 00:00:35,480 --> 00:00:40,120 exciting and over a long career of 10 00:00:37,480 --> 00:00:42,559 teaching uh he's brought to us today 11 00:00:40,120 --> 00:00:46,800 some anecdotes about his teaching career 12 00:00:42,559 --> 00:00:49,960 in tertiary and secondary yep okay so a 13 00:00:46,800 --> 00:00:52,160 little bit of uh your correction I help 14 00:00:49,960 --> 00:00:55,640 up in Hong Kong the pon for eight years 15 00:00:52,160 --> 00:01:00,320 I came back um for two years 16 00:00:55,640 --> 00:01:04,159 and yeah and um I'm already run out time 17 00:01:00,320 --> 00:01:06,320 I put too many things in my slides and 18 00:01:04,159 --> 00:01:09,360 adding that I have a medical condition 19 00:01:06,320 --> 00:01:13,520 so you if you were one of the speaker 20 00:01:09,360 --> 00:01:16,680 you saw me tilting my head um on my seat 21 00:01:13,520 --> 00:01:19,880 because um I have to because I got a 22 00:01:16,680 --> 00:01:22,040 posture recommendation on me because I 23 00:01:19,880 --> 00:01:25,159 supposed to lie on the bed and teal my 24 00:01:22,040 --> 00:01:27,439 head so so I'm operating one night and 25 00:01:25,159 --> 00:01:30,720 hope that I could get through my stack 26 00:01:27,439 --> 00:01:33,720 of slides okay so this is not about 27 00:01:30,720 --> 00:01:36,119 um those AI thing that will Mark um 28 00:01:33,720 --> 00:01:40,399 Python program by itself that's already 29 00:01:36,119 --> 00:01:45,399 too many of them it's a general purpose 30 00:01:40,399 --> 00:01:48,159 um Python scripts to handle um Excel 31 00:01:45,399 --> 00:01:51,880 files if you put your marks in your 32 00:01:48,159 --> 00:01:54,759 Excel file um one Excel file for each 33 00:01:51,880 --> 00:01:56,520 student then this is for you and then we 34 00:01:54,759 --> 00:01:58,520 will find out we will first talk about 35 00:01:56,520 --> 00:02:01,640 the steps in marking and then I will 36 00:01:58,520 --> 00:02:07,000 introduce two program uh two libraries 37 00:02:01,640 --> 00:02:09,520 open Pi XY and XL and XL wings and and 38 00:02:07,000 --> 00:02:11,959 how you can use them to manipulate the 39 00:02:09,520 --> 00:02:15,480 Excel files and um some of the 40 00:02:11,959 --> 00:02:19,360 implication while it's better to use 41 00:02:15,480 --> 00:02:23,959 Pyon to handle um the Logics and then 42 00:02:19,360 --> 00:02:26,280 keep the data in in uh Excel so um I 43 00:02:23,959 --> 00:02:28,239 would recommend you to look at the code 44 00:02:26,280 --> 00:02:29,640 because I got no time to go through all 45 00:02:28,239 --> 00:02:30,720 the code together I'm going to got 30 46 00:02:29,640 --> 00:02:33,560 minutes 47 00:02:30,720 --> 00:02:37,319 and so um please go to my GitHub and 48 00:02:33,560 --> 00:02:38,840 find the code okay so anyone line 49 00:02:37,319 --> 00:02:43,120 marking 50 00:02:38,840 --> 00:02:45,480 assignments really it's tiring it's not 51 00:02:43,120 --> 00:02:48,519 interesting and sometime the school got 52 00:02:45,480 --> 00:02:53,080 crazy schedules and then it's deadline 53 00:02:48,519 --> 00:02:56,760 fighting and so I want to uh automate 54 00:02:53,080 --> 00:03:00,400 all the mundane work okay and also by 55 00:02:56,760 --> 00:03:04,200 Saving Time I could um you know 56 00:03:00,400 --> 00:03:05,959 um improve my python um skills because I 57 00:03:04,200 --> 00:03:08,799 really got no time to do programming I 58 00:03:05,959 --> 00:03:11,920 would like to do more programming so the 59 00:03:08,799 --> 00:03:16,319 worst case I got I got a Word document 60 00:03:11,920 --> 00:03:19,040 on the marking like template and my 61 00:03:16,319 --> 00:03:22,440 course coordinator expect us to print 62 00:03:19,040 --> 00:03:27,040 out through the printer manually with 63 00:03:22,440 --> 00:03:30,280 physical papers we filled in by um pen 64 00:03:27,040 --> 00:03:33,959 each P each students uh name student 65 00:03:30,280 --> 00:03:36,720 number uh manually and then Mark it and 66 00:03:33,959 --> 00:03:40,120 then use a calculator manually find the 67 00:03:36,720 --> 00:03:44,439 total score put it in and then um and 68 00:03:40,120 --> 00:03:47,280 then um manually put all the totals back 69 00:03:44,439 --> 00:03:49,040 in an Excel and upload it to the um 70 00:03:47,280 --> 00:03:52,879 Learning Management cost management 71 00:03:49,040 --> 00:03:55,319 system okay so that's that's the steps 72 00:03:52,879 --> 00:03:57,799 so what to do first I don't want to fill 73 00:03:55,319 --> 00:04:00,239 in the student names and student number 74 00:03:57,799 --> 00:04:06,799 and what they they like 75 00:04:00,239 --> 00:04:10,480 class into um a paper so I convert f 76 00:04:06,799 --> 00:04:15,319 like manually That Word document into 77 00:04:10,480 --> 00:04:19,440 Excel so that I can use Python to change 78 00:04:15,319 --> 00:04:21,880 the content inside the Excel file um so 79 00:04:19,440 --> 00:04:24,560 that it would be exactly correct um with 80 00:04:21,880 --> 00:04:26,840 the student name and like student number 81 00:04:24,560 --> 00:04:30,039 and so on so the first library is open 82 00:04:26,840 --> 00:04:34,360 pyxl so it is a very fast Library it 83 00:04:30,039 --> 00:04:37,560 will just fill in uh a lot of the uh 84 00:04:34,360 --> 00:04:41,400 detail so this is um extremely 85 00:04:37,560 --> 00:04:43,120 simplified um Mark sheeet that like if 86 00:04:41,400 --> 00:04:45,160 You' done marking you probably know what 87 00:04:43,120 --> 00:04:48,039 that is what you got that definitely 88 00:04:45,160 --> 00:04:50,360 will be much more complex than that but 89 00:04:48,039 --> 00:04:53,000 I hope you'll understand like if you 90 00:04:50,360 --> 00:04:57,759 ever Mark things using a mark sheet then 91 00:04:53,000 --> 00:05:00,039 you'll know what that is okay so um so 92 00:04:57,759 --> 00:05:02,080 what I'm going to do is we got a 93 00:05:00,039 --> 00:05:06,680 template like that and then we read in 94 00:05:02,080 --> 00:05:09,360 the template and fill in uh student 95 00:05:06,680 --> 00:05:12,080 detail one by one and each student will 96 00:05:09,360 --> 00:05:17,600 will have one Excel file and this is how 97 00:05:12,080 --> 00:05:22,759 to open the template and the data only 98 00:05:17,600 --> 00:05:25,160 um um parameters is important because um 99 00:05:22,759 --> 00:05:28,000 inside a template there is a total 100 00:05:25,160 --> 00:05:31,720 calculation so if data only is equal to 101 00:05:28,000 --> 00:05:33,560 true it will um neglect that formula 102 00:05:31,720 --> 00:05:37,000 that's no good so we need to do data 103 00:05:33,560 --> 00:05:41,520 only equal to falce and then we choose 104 00:05:37,000 --> 00:05:44,680 um so for every Excel file open it will 105 00:05:41,520 --> 00:05:46,639 treat as a workbook object and in each 106 00:05:44,680 --> 00:05:49,319 workbook there will be several 107 00:05:46,639 --> 00:05:51,759 worksheets and so we choose in the 108 00:05:49,319 --> 00:05:54,560 workbook object we choose the active 109 00:05:51,759 --> 00:05:57,639 worksheet okay so that's the second line 110 00:05:54,560 --> 00:06:02,759 and then well assume we got all the 111 00:05:57,639 --> 00:06:06,800 student um detail inside the row um 112 00:06:02,759 --> 00:06:10,080 variable is actually um penda uh data 113 00:06:06,800 --> 00:06:13,599 frame okay object and then um it got all 114 00:06:10,080 --> 00:06:16,960 the student details and we um Loop 115 00:06:13,599 --> 00:06:20,960 through that row and then we put it into 116 00:06:16,960 --> 00:06:23,919 different cells of um the Excel file and 117 00:06:20,960 --> 00:06:26,360 then we save that Excel file um with the 118 00:06:23,919 --> 00:06:29,080 student name first and a student ID 119 00:06:26,360 --> 00:06:33,479 first and then student name and the 120 00:06:29,080 --> 00:06:37,479 assignment short name okay and this is 121 00:06:33,479 --> 00:06:40,120 um yeah just to let you know how to deck 122 00:06:37,479 --> 00:06:42,479 like the decoration and the loop that we 123 00:06:40,120 --> 00:06:44,919 are going to put all the code that I 124 00:06:42,479 --> 00:06:48,840 already mentioned okay and that's is the 125 00:06:44,919 --> 00:06:53,360 result oh no that that is the student um 126 00:06:48,840 --> 00:06:57,400 data in a CSV format okay and so the 127 00:06:53,360 --> 00:07:00,360 result is a list of file within the same 128 00:06:57,400 --> 00:07:02,240 uh directory of the Python program 129 00:07:00,360 --> 00:07:04,960 it start with the student number and 130 00:07:02,240 --> 00:07:09,960 then student name and then the short 131 00:07:04,960 --> 00:07:13,639 name of the assignment and then um yeah 132 00:07:09,960 --> 00:07:15,720 the student details all filled in into 133 00:07:13,639 --> 00:07:21,120 um the 134 00:07:15,720 --> 00:07:26,160 marksheet okay and then I think when you 135 00:07:21,120 --> 00:07:28,879 start marking you um you basically um 136 00:07:26,160 --> 00:07:31,800 have a concept of what the student uh 137 00:07:28,879 --> 00:07:33,960 would like to put in but our student are 138 00:07:31,800 --> 00:07:36,199 you know ever 139 00:07:33,960 --> 00:07:39,360 imaginative and then some sometimes oh 140 00:07:36,199 --> 00:07:42,960 actually it's not wrong it's not we 141 00:07:39,360 --> 00:07:45,639 expecting and so you start with quite 142 00:07:42,960 --> 00:07:47,680 harsh when you start marking the first 143 00:07:45,639 --> 00:07:50,520 paper and then you get less and less 144 00:07:47,680 --> 00:07:52,560 less harsh okay and then you tend to go 145 00:07:50,520 --> 00:07:56,840 back and Mark again but you don't need 146 00:07:52,560 --> 00:07:59,599 to do that okay because you could be 147 00:07:56,840 --> 00:08:03,400 harsh from the beginning to the end and 148 00:07:59,599 --> 00:08:07,759 you go a table that if you mark the 149 00:08:03,400 --> 00:08:12,000 student as one you can use the pyone 150 00:08:07,759 --> 00:08:16,280 library to pum it to two Okay so it's a 151 00:08:12,000 --> 00:08:19,240 bit unfair for the like some student got 152 00:08:16,280 --> 00:08:22,599 five but yeah sometime you won't adjust 153 00:08:19,240 --> 00:08:27,400 that and so what you do is you can 154 00:08:22,599 --> 00:08:30,400 change the marks in bu inside all the 155 00:08:27,400 --> 00:08:34,440 Mark Sheets okay all the Excel file 156 00:08:30,400 --> 00:08:37,800 but the open pyxl cannot do it because 157 00:08:34,440 --> 00:08:39,519 it um cannot evaluate formulas because 158 00:08:37,800 --> 00:08:40,959 when you think about Excel formulas they 159 00:08:39,519 --> 00:08:44,159 can be very simple just adding two 160 00:08:40,959 --> 00:08:46,399 numbers but it can be very complex so we 161 00:08:44,159 --> 00:08:50,920 need another Library it's called the 162 00:08:46,399 --> 00:08:53,600 Excel Wings it will remotely open the 163 00:08:50,920 --> 00:08:55,839 Excel um application and remotely 164 00:08:53,600 --> 00:08:59,120 controlled it and you can send data to 165 00:08:55,839 --> 00:09:02,680 it to change different cells okay the 166 00:08:59,120 --> 00:09:05,600 Val and it will automatically 167 00:09:02,680 --> 00:09:08,600 recalculate okay so this is a syntax so 168 00:09:05,600 --> 00:09:13,240 it's just a change in syntax so rather 169 00:09:08,600 --> 00:09:16,000 than low workbook now is just um the dot 170 00:09:13,240 --> 00:09:18,920 um book and then you got the um file 171 00:09:16,000 --> 00:09:23,000 name since it actually automatically 172 00:09:18,920 --> 00:09:25,760 open an Excel um application you need to 173 00:09:23,000 --> 00:09:27,880 handle of the or pointer to the 174 00:09:25,760 --> 00:09:30,240 application so that's the second line 175 00:09:27,880 --> 00:09:32,079 and then the rest is is um 176 00:09:30,240 --> 00:09:35,040 self-explanatory because I've got no 177 00:09:32,079 --> 00:09:37,720 time so the middle two lines is just 178 00:09:35,040 --> 00:09:40,240 read from the cell and go through the 179 00:09:37,720 --> 00:09:42,600 dictionary so one will become two two 180 00:09:40,240 --> 00:09:45,360 will become three and then put it back 181 00:09:42,600 --> 00:09:47,279 into the cell and then you save it and 182 00:09:45,360 --> 00:09:50,240 then um if you don't create the 183 00:09:47,279 --> 00:09:54,640 application after you run it in the loop 184 00:09:50,240 --> 00:09:57,680 you got like 20 Excel um application 185 00:09:54,640 --> 00:10:00,160 running so you better quit the 186 00:09:57,680 --> 00:10:03,399 application okay and and so this is 187 00:10:00,160 --> 00:10:05,320 original marksheet and then um okay I 188 00:10:03,399 --> 00:10:08,959 better point out the change is in the 189 00:10:05,320 --> 00:10:12,800 grammar and report formatting and then 190 00:10:08,959 --> 00:10:15,640 the marks will become two okay and it's 191 00:10:12,800 --> 00:10:19,320 no matter you got two Excel file or 100 192 00:10:15,640 --> 00:10:21,440 Excel file it will be done 193 00:10:19,320 --> 00:10:24,920 automatically okay and then after you 194 00:10:21,440 --> 00:10:27,920 have all those files um you want to 195 00:10:24,920 --> 00:10:30,920 collect all the marks from all those 196 00:10:27,920 --> 00:10:33,399 files so it is is in the mark collector. 197 00:10:30,920 --> 00:10:36,120 py sorry I run off time I won't go 198 00:10:33,399 --> 00:10:41,160 through each line with you but if you go 199 00:10:36,120 --> 00:10:42,680 to my GitHub is there and then um um 200 00:10:41,160 --> 00:10:45,480 some colleague of mine invent this 201 00:10:42,680 --> 00:10:48,320 method they used the conditional 202 00:10:45,480 --> 00:10:49,839 formatting in Excel because in this case 203 00:10:48,320 --> 00:10:52,920 you're not supposed to give Mark more 204 00:10:49,839 --> 00:10:55,959 than five for grammar or five more than 205 00:10:52,920 --> 00:10:58,959 more than five for report formatting so 206 00:10:55,959 --> 00:11:01,600 if you gone above that it will be red 207 00:10:58,959 --> 00:11:04,240 but sometime when markeing so many 208 00:11:01,600 --> 00:11:08,279 things gone through your mind your C go 209 00:11:04,240 --> 00:11:10,440 a later might give you veral like um 210 00:11:08,279 --> 00:11:12,040 instruction and then and then you 211 00:11:10,440 --> 00:11:15,480 sometime even if it's in red you 212 00:11:12,040 --> 00:11:18,079 forgotten so what you do in the 213 00:11:15,480 --> 00:11:21,120 collector program you put some checking 214 00:11:18,079 --> 00:11:24,399 logic before so if it's like more than 215 00:11:21,120 --> 00:11:27,480 the maximum score it will give you an 216 00:11:24,399 --> 00:11:29,519 error message and then it will not 217 00:11:27,480 --> 00:11:33,040 collect the marks for you so you you 218 00:11:29,519 --> 00:11:36,120 must pass like like a compiler you must 219 00:11:33,040 --> 00:11:38,800 pass all the conditions and then the 220 00:11:36,120 --> 00:11:42,279 program will collect um we produce an 221 00:11:38,800 --> 00:11:43,320 Excel or um CSV um files for all the 222 00:11:42,279 --> 00:11:46,120 marks for your 223 00:11:43,320 --> 00:11:48,560 students and then after that Excel is 224 00:11:46,120 --> 00:11:50,959 well known that it's very easy to change 225 00:11:48,560 --> 00:11:54,040 so you after marking you don't want 226 00:11:50,959 --> 00:11:56,800 anything to be changed okay and so you 227 00:11:54,040 --> 00:12:00,040 convert all your Excel files into PDF 228 00:11:56,800 --> 00:12:04,320 and this is uh this is the script for 229 00:12:00,040 --> 00:12:05,399 you okay and then just a summary the 230 00:12:04,320 --> 00:12:09,360 open 231 00:12:05,399 --> 00:12:12,480 pyxl um risk data very fast it can 232 00:12:09,360 --> 00:12:15,279 change cells that doesn't involve 233 00:12:12,480 --> 00:12:17,560 calculation but for if you want marks to 234 00:12:15,279 --> 00:12:20,240 be change some calculation recalculation 235 00:12:17,560 --> 00:12:22,800 involved use Excel 236 00:12:20,240 --> 00:12:27,040 wings 237 00:12:22,800 --> 00:12:29,680 okay okay so now I now you got this 238 00:12:27,040 --> 00:12:33,160 superpower to change every every Market 239 00:12:29,680 --> 00:12:36,519 that in the directory so please please 240 00:12:33,160 --> 00:12:38,880 make many copies at each steps otherwise 241 00:12:36,519 --> 00:12:41,000 if you wrote the wrong wrong program you 242 00:12:38,880 --> 00:12:44,120 Mar you might be marking for two days 243 00:12:41,000 --> 00:12:47,680 things will be gone okay so don't do it 244 00:12:44,120 --> 00:12:51,399 um link your directory with um some 245 00:12:47,680 --> 00:12:53,600 Cloud you know uh one drive Google Drive 246 00:12:51,399 --> 00:12:57,680 whatever that is and so that you can go 247 00:12:53,600 --> 00:13:00,279 back okay so back up back up copy copy 248 00:12:57,680 --> 00:13:04,279 okay so um how much 249 00:13:00,279 --> 00:13:08,600 time okay so um why I rush through 250 00:13:04,279 --> 00:13:10,399 because actually why do we need python 251 00:13:08,600 --> 00:13:14,360 uh we could have done it using Excel 252 00:13:10,399 --> 00:13:16,760 formulas and um macro or more 253 00:13:14,360 --> 00:13:19,639 specifically we so basic for 254 00:13:16,760 --> 00:13:22,720 applications um it's very important that 255 00:13:19,639 --> 00:13:26,079 we have all the logic outside of excel 256 00:13:22,720 --> 00:13:29,560 so if have formulas we have macro all 257 00:13:26,079 --> 00:13:32,199 the programming is inside Excel so if 258 00:13:29,560 --> 00:13:35,880 you pick out um Excel file like two 259 00:13:32,199 --> 00:13:39,040 years ago oh I improved the logic inside 260 00:13:35,880 --> 00:13:40,839 so what version was it like did I did 261 00:13:39,040 --> 00:13:44,160 does it got this function or that 262 00:13:40,839 --> 00:13:46,160 function um it's very hard to maintain 263 00:13:44,160 --> 00:13:49,199 if you got a python script that you can 264 00:13:46,160 --> 00:13:54,600 we can use jit or other version methods 265 00:13:49,199 --> 00:13:58,600 and then um okay and for example um this 266 00:13:54,600 --> 00:14:02,440 is how uh Microsoft uh let you use 267 00:13:58,600 --> 00:14:04,720 python Excel and like I think usually 268 00:14:02,440 --> 00:14:07,199 you need something like 10 lines of 269 00:14:04,720 --> 00:14:10,639 python to get anything useful and it's 270 00:14:07,199 --> 00:14:13,440 all in one cell how could we really 271 00:14:10,639 --> 00:14:15,600 maintain that okay and I just also 272 00:14:13,440 --> 00:14:19,560 mentioned about the um conditional 273 00:14:15,600 --> 00:14:24,560 formatting um it is again you need to 274 00:14:19,560 --> 00:14:27,360 open another uh window inside excel in 275 00:14:24,560 --> 00:14:30,079 order to do it so 276 00:14:27,360 --> 00:14:32,240 if you might Accord accordingly nothing 277 00:14:30,079 --> 00:14:35,240 goes red you will never know that's 278 00:14:32,240 --> 00:14:38,480 conditional um formatting so if you have 279 00:14:35,240 --> 00:14:40,360 all the logic in your uh Python program 280 00:14:38,480 --> 00:14:44,360 it's very 281 00:14:40,360 --> 00:14:51,399 clear and then it come to the last Point 282 00:14:44,360 --> 00:14:55,079 um oh I underr it is it good um okay so 283 00:14:51,399 --> 00:14:59,240 the last one is about cyber security 284 00:14:55,079 --> 00:15:02,519 okay so we have the Australian um C uh 285 00:14:59,240 --> 00:15:06,560 signal directorate so it's a statu 286 00:15:02,519 --> 00:15:09,040 statuatory um Agency for intelligence 287 00:15:06,560 --> 00:15:12,920 and security and you might say oh why is 288 00:15:09,040 --> 00:15:15,199 it related okay so they um thought of 289 00:15:12,920 --> 00:15:18,759 this uh essential Aid scheme so they 290 00:15:15,199 --> 00:15:22,680 want uh different companies and 291 00:15:18,759 --> 00:15:27,240 organization to keep themselves safe and 292 00:15:22,680 --> 00:15:30,160 against cyber security threat so they um 293 00:15:27,240 --> 00:15:32,120 they put together only eight points okay 294 00:15:30,160 --> 00:15:34,639 if they give you a big list of course 295 00:15:32,120 --> 00:15:37,880 nobody going to follow that so what are 296 00:15:34,639 --> 00:15:41,440 the eight points so some ual things P 297 00:15:37,880 --> 00:15:45,040 your application P your operating system 298 00:15:41,440 --> 00:15:48,000 and then um multiactor 299 00:15:45,040 --> 00:15:50,560 authentication and out of all those 300 00:15:48,000 --> 00:15:54,839 eight points that's one thing restrict 301 00:15:50,560 --> 00:15:57,759 Microsoft Office macros okay so they are 302 00:15:54,839 --> 00:16:01,440 very kind they're not saying not to use 303 00:15:57,759 --> 00:16:04,399 Microsoft uh macros or whle basic for 304 00:16:01,440 --> 00:16:07,440 application because they where some PE 305 00:16:04,399 --> 00:16:11,560 some organization still using it but I 306 00:16:07,440 --> 00:16:14,759 think one of the bad thing is um if you 307 00:16:11,560 --> 00:16:18,759 haven't start don't use it use Python 308 00:16:14,759 --> 00:16:22,720 Pyon using those especially uh Excel 309 00:16:18,759 --> 00:16:26,360 Wings it could do most of the things 310 00:16:22,720 --> 00:16:29,680 that you need to um Implement using um 311 00:16:26,360 --> 00:16:35,279 macros okay and then um 312 00:16:29,680 --> 00:16:36,399 um and the reason why I think um why it 313 00:16:35,279 --> 00:16:41,240 um cause 314 00:16:36,399 --> 00:16:44,880 a possible cyber security threat is that 315 00:16:41,240 --> 00:16:49,839 um when people open Word file or Excel 316 00:16:44,880 --> 00:16:53,360 file that they expect data okay but 317 00:16:49,839 --> 00:16:55,759 actually um the macro is a powerful 318 00:16:53,360 --> 00:16:58,920 enough to run a program that could 319 00:16:55,759 --> 00:17:00,639 contact an external external website and 320 00:16:58,920 --> 00:17:03,799 and download some script and execute 321 00:17:00,639 --> 00:17:06,679 that script and then like all the 322 00:17:03,799 --> 00:17:10,039 security in between like firewall 323 00:17:06,679 --> 00:17:13,640 whatever then it's all broken because 324 00:17:10,039 --> 00:17:17,039 they got that malicious script from 325 00:17:13,640 --> 00:17:18,959 outside into your computer and so um 326 00:17:17,039 --> 00:17:21,959 this is not too 327 00:17:18,959 --> 00:17:25,720 good 328 00:17:21,959 --> 00:17:28,640 okay that's both good and not good I 329 00:17:25,720 --> 00:17:30,480 yeah because I record myself and that 330 00:17:28,640 --> 00:17:34,840 was 331 00:17:30,480 --> 00:17:41,320 27 um minutes but I now underrun I think 332 00:17:34,840 --> 00:17:45,880 I'm on really okay so conclusion um yeah 333 00:17:41,320 --> 00:17:48,320 so I yeah this is my experience I use 334 00:17:45,880 --> 00:17:52,640 those scripts uh well the the scripts on 335 00:17:48,320 --> 00:17:56,280 the website is improved but I use um 336 00:17:52,640 --> 00:17:59,840 some like preliminary scripts from the 337 00:17:56,280 --> 00:18:04,679 script on the website to really automate 338 00:17:59,840 --> 00:18:08,960 my marking and then and I find out those 339 00:18:04,679 --> 00:18:12,640 two um um libraries the open py XL and 340 00:18:08,960 --> 00:18:15,760 the Excel wings and they are um very 341 00:18:12,640 --> 00:18:19,520 nice to use and importance of separated 342 00:18:15,760 --> 00:18:23,440 logic and data is easier to maintain and 343 00:18:19,520 --> 00:18:28,520 it um and then it helped you to get away 344 00:18:23,440 --> 00:18:33,600 from cyber security risk and future work 345 00:18:28,520 --> 00:18:40,159 one thing is all that um is just very 346 00:18:33,600 --> 00:18:42,960 simple function um that we need in a um 347 00:18:40,159 --> 00:18:46,280 in a spreadsheet so you doesn't need to 348 00:18:42,960 --> 00:18:49,559 use Excel so the next future work is I 349 00:18:46,280 --> 00:18:54,960 would like to automate um libal office 350 00:18:49,559 --> 00:18:59,200 Cal so we did not need to buy um any 351 00:18:54,960 --> 00:19:01,320 license from Microsoft sorry Mer 352 00:18:59,200 --> 00:19:03,720 yeah also I'm asking people to save 353 00:19:01,320 --> 00:19:07,039 money and the these are my contact if 354 00:19:03,720 --> 00:19:10,760 you want to know more okay yep there all 355 00:19:07,039 --> 00:19:12,480 so we have some time for questions is it 356 00:19:10,760 --> 00:19:14,080 yes absolutely uh does anyone have any 357 00:19:12,480 --> 00:19:17,159 questions for 358 00:19:14,080 --> 00:19:20,360 haen Round of Applause Round of Applause 359 00:19:17,159 --> 00:19:20,360 thank thank 360 00:19:21,760 --> 00:19:24,760 you 361 00:19:25,400 --> 00:19:31,080 yes so how much time do you think you 362 00:19:28,039 --> 00:19:33,240 have saved or maybe not at all because 363 00:19:31,080 --> 00:19:37,600 you're um spending too much time having 364 00:19:33,240 --> 00:19:41,760 fun with this oh I must say 365 00:19:37,600 --> 00:19:45,120 I I don't know but I must say that um 366 00:19:41,760 --> 00:19:48,480 when I derupt the script I think I use 367 00:19:45,120 --> 00:19:51,960 too much time but it's just that 368 00:19:48,480 --> 00:19:54,480 semester afterwards is really great one 369 00:19:51,960 --> 00:19:57,320 thing I haven't mentioned is like um 370 00:19:54,480 --> 00:19:59,280 when you produce that Excel template 371 00:19:57,320 --> 00:20:01,799 file sometimes 372 00:19:59,280 --> 00:20:03,919 you got it wrong in the calculation 373 00:20:01,799 --> 00:20:06,320 formulas because the calculation formula 374 00:20:03,919 --> 00:20:08,280 I got is very simple sometime you got 375 00:20:06,320 --> 00:20:11,720 like all kind of even condition inside 376 00:20:08,280 --> 00:20:14,760 that um and you already distributed like 377 00:20:11,720 --> 00:20:18,440 you got tens of them but you can also 378 00:20:14,760 --> 00:20:20,840 use this method to correct them yeah so 379 00:20:18,440 --> 00:20:23,880 so I I I got something wrong and I 380 00:20:20,840 --> 00:20:26,919 correct all of them so it all pays out 381 00:20:23,880 --> 00:20:30,640 at the end after a few semesters yep but 382 00:20:26,919 --> 00:20:30,640 I don't have a number on it 383 00:20:31,520 --> 00:20:38,280 yep wonderful let's oh we've got another 384 00:20:34,120 --> 00:20:38,280 question okay hang on hang on come 385 00:20:42,919 --> 00:20:47,200 down well thank you for your talk um I 386 00:20:45,600 --> 00:20:49,159 was wondering if you've had any luck 387 00:20:47,200 --> 00:20:51,240 getting other teachers at your place of 388 00:20:49,159 --> 00:20:54,799 work like was there any buy into to this 389 00:20:51,240 --> 00:20:56,760 sort of thing that they're likeing it or 390 00:20:54,799 --> 00:21:00,120 actually I'm 391 00:20:56,760 --> 00:21:03,360 expecting this video to be free online 392 00:21:00,120 --> 00:21:07,400 and I will I will get my former 393 00:21:03,360 --> 00:21:09,720 colleagues to watch it so we were too 394 00:21:07,400 --> 00:21:12,080 busy yeah I will get my former colleague 395 00:21:09,720 --> 00:21:12,080 to watch 396 00:21:13,720 --> 00:21:21,360 it so if you're watching this in the 397 00:21:17,240 --> 00:21:23,640 future get in touch so that you know 398 00:21:21,360 --> 00:21:26,320 that let let us all know that you're 399 00:21:23,640 --> 00:21:29,240 using this yeah y any 400 00:21:26,320 --> 00:21:31,480 teachers yep wonderful let's oh have you 401 00:21:29,240 --> 00:21:34,600 got another question yeah absolutely 402 00:21:31,480 --> 00:21:39,240 we've got time oh 403 00:21:34,600 --> 00:21:41,039 good uh great talk um my question is you 404 00:21:39,240 --> 00:21:44,080 mentioned adjusting the scores if you 405 00:21:41,039 --> 00:21:45,960 were too harsh how did you determine uh 406 00:21:44,080 --> 00:21:48,679 whether you were too harsh was that done 407 00:21:45,960 --> 00:21:51,440 on the overall assessment or was that 408 00:21:48,679 --> 00:21:55,320 question by question or how did you do 409 00:21:51,440 --> 00:21:59,080 that um well 410 00:21:55,320 --> 00:22:01,360 I well there are several 411 00:21:59,080 --> 00:22:04,320 possibility after I gone through the 412 00:22:01,360 --> 00:22:05,840 first marking I will like use the 413 00:22:04,320 --> 00:22:07,240 collector to collect all the score and 414 00:22:05,840 --> 00:22:10,640 look at the 415 00:22:07,240 --> 00:22:12,320 distribution and then um and then as I 416 00:22:10,640 --> 00:22:15,720 mentioned to start with sometime the 417 00:22:12,320 --> 00:22:19,600 harsh L sort of come down when you like 418 00:22:15,720 --> 00:22:22,039 gradually Mark all the all the papers 419 00:22:19,600 --> 00:22:27,080 and yeah 420 00:22:22,039 --> 00:22:28,880 so well I have to say one thing I left 421 00:22:27,080 --> 00:22:30,840 this profession is sometimes you got 422 00:22:28,880 --> 00:22:35,600 pressure from your 423 00:22:30,840 --> 00:22:39,240 supervisor okay to change the mats okay 424 00:22:35,600 --> 00:22:39,240 yep so I'm a bit honest 425 00:22:39,320 --> 00:22:47,039 sorry all right let's give hean another 426 00:22:41,720 --> 00:22:47,039 big round of applause to thank him yeah