forked from csev/py4e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lessons.json
1321 lines (1315 loc) · 36.4 KB
/
lessons.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"title": "Python for Everybody (PY4E)",
"description" : "Hello and welcome to my site where you learn Python even if you have no programming background.",
"count": true,
"required_modules": [
"https://github.com/tsugitools/gift",
"https://github.com/tsugitools/youtube",
"https://github.com/tsugitools/peer-grade",
"https://github.com/tsugitools/tdiscus"
],
"headers": [
"<link href=\"{apphome}/css/lessons.css\" rel=\"stylesheet\">"
],
"settings": {
"prev-next": "right"
},
"badges": [
{
"title" : "Enrolled in Python for Everybody (PY4E)",
"image" : "00_enrolled_py4e.png",
"threshold" : "0.0",
"assignments" : [
]
},
{
"title" : "Introductory Python - Hello World!",
"threshold" : "0.8",
"image" : "01_hello_world.png",
"assignments" : [
"pythonauto_01_hello"
]
},
{
"title" : "Introductory Python - Getting Started",
"threshold" : "0.8",
"image" : "badge_01_code.png",
"assignments" : [
"install",
"pythonauto_01_hello",
"pythonauto_02_03",
"pythonauto_03_03",
"pythonauto_04_06",
"pythonauto_05_02"
]
},
{
"title" : "Python Data Structures",
"threshold" : "1.0",
"image" : "badge_02_data.png",
"assignments" : [
"pythonauto_06_05",
"pythonauto_07_02",
"pythonauto_08_04",
"pythonauto_08_05",
"pythonauto_09_04",
"pythonauto_10_02"
]
},
{
"title" : "Accessing Web and Network Data With Python",
"threshold" : "0.8",
"image" : "badge_03_network.png",
"assignments" : [
"pythondata_01_regex",
"pythondata_02_rrc",
"pythondata_03_html",
"pythondata_04_links",
"pythondata_05_xml",
"pythondata_06_json",
"pythondata_07_geo"
]
},
{
"title" : "Using Databases With Python",
"threshold" : "1.0",
"image" : "badge_04_database.png",
"assignments" : [
"pythonsql_01_single",
"pythonsql_02_email",
"pythonsql_03_tracks",
"pythonsql_04_many"
]
},
{
"title" : "Python for Everybody",
"threshold" : "1.0",
"image" : "badge_py4e.png",
"assignments" : [
"install",
"pythonauto_01_hello",
"pythonauto_02_03",
"pythonauto_03_03",
"pythonauto_04_06",
"pythonauto_05_02",
"pythonauto_06_05",
"pythonauto_07_02",
"pythonauto_08_04",
"pythonauto_08_05",
"pythonauto_09_04",
"pythonauto_10_02",
"pythondata_01_regex",
"pythondata_02_rrc",
"pythondata_03_html",
"pythondata_04_links",
"pythondata_05_xml",
"pythondata_06_json",
"pythondata_07_geo",
"pythonsql_01_single",
"pythonsql_02_email",
"pythonsql_03_tracks",
"pythonsql_04_many"
]
}
],
"other_courses": [
{
"title" : "Python for Everybody Specialization (Coursera)",
"href" : "https://www.coursera.org/specializations/python"
},
{
"title" : "Python for Everybody - Getting Started (edX)",
"href" : "https://www.edx.org/course/programming-for-everybody-getting-started-with-python"
}
],
"discussions" : [
{
"title" : "Welcome to Python for Everybody",
"launch" : "mod/tdiscus/",
"resource_link_id": "discussion_welcome"
}
],
"modules": [
{
"title": "Installing Python",
"anchor": "install",
"icon" : "fa-bicycle",
"description": "The first task is to work through the installation steps including installing Python and text editor.",
"assignment" : "install.php",
"references" : [
{
"title" : "Using Replit to write Python Programs",
"href" : "software-replit.php"
},
{
"title" : "Setting up a Python Environment in Microsoft Windows",
"href" : "software-win.php"
},
{
"title" : "Setting up a Python Environment in Macintosh",
"href" : "software-mac.php"
}
],
"lti" : {
"title": "Peer Graded: Installation Screen Shots",
"launch" : "mod/peer-grade/",
"resource_link_id": "install",
"custom" : [
{
"key": "config",
"json":
{
"title":"Peer Review: Installing and Running Python Screen Shots",
"description":"Install Python and a programming text editor and write a program that prints one line other than 'hello world', then take two screen shots and upload them below. You should use the command line to execute the Python program you wrote in the text editor. Please do *not* use the IDLE Python Shell, the Python Interpreter (>>>), or a shortcut in your text editor to run the code. Later in the class when we start reading files, we will need to be able to run Python programs from particular directories. See the videos for details.",
"grading":"This is a relatively simple assignment. The goal is to simply show that each student has Python installed on their desktop or laptop and can take screen shots. Please make your comments to help the student that you are reviewing.",
"assignment":"https://www.py4e.com/install",
"parts":[
{
"title":"Image of the program being edited in a text editor",
"type":"image"
},
{
"title":"Image of the program being executed in the command line or terminal",
"type":"image"
}
],
"totalpoints":10,
"minassess":2,
"assesspoints":2,
"instructorpoints":0,
"maxassess":8,
"peerpoints":6,
"flag":true,
"rating":0,
"gallery":"off",
"resubmit":"off",
"notepublic":"false",
"galleryformat":"card"
}
}
]
}
},
{
"title": "Why Program?",
"anchor": "intro",
"icon" : "fa-hand-o-right",
"description": "We learn why one might want to learn to program, and look at the basic issues with learning to program.",
"slides": "lectures3/Pythonlearn-01-Intro.pptx",
"references" : [
{
"title" : "Chapter 1: Introduction",
"href" : "{apphome}/html3/01-intro"
}
],
"videos" : [
{
"title" : "Why Program - Part 1",
"youtube" : "fvhNadKjE8g"
},
{
"title" : "Why Program - Part 2",
"youtube" : "VQZTZsXk8sA"
},
{
"title" : "What happens when the CPU cooler is removed?",
"youtube" : "y39D4529FM4"
},
{
"title" : "Inside of Hard Drive",
"youtube" : "9eMWG3fwiEU"
},
{
"title" : "Why Program - Part 3",
"youtube" : "LLzFNlCjTSo"
},
{
"title" : "Why Program - Part 4",
"youtube" : "gsry2SYOFCw"
},
{
"title" : "Writing 'hello world' in the Autograder",
"youtube" : "aDwb41EMEQQ"
}
],
"discussions" : [
{
"title" : "Why Program?",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_01_hello"
}
],
"lti" : [
{
"title" : "Autograder: Write Hello World",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_01_hello",
"custom" : [
{
"key": "exercise",
"value": "hello"
}
]
},
{
"title" : "Quiz: Why program?",
"launch" : "mod/gift/?quiz=Py4Inf-01-Intro.txt",
"resource_link_id" : "py4e_01_in_quiz"
}
]
},
{
"title": "Variables, expressions and statements",
"anchor": "memory",
"icon" : "fa-database",
"description": "We learn how to make variables and store data in those variables.",
"slides": "lectures3/Pythonlearn-02-Expressions.pptx",
"discussions" : [
{
"title" : "Variables, expressions and statements",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_02"
}
],
"references" : [
{
"title" : "Chapter 2: Variables",
"href" : "{apphome}/html3/02-variables"
}
],
"videos" : [
{
"title" : "Variables, Expressions and Statements - Part 1",
"youtube" : "7KHdV6FSpo8"
},
{
"title" : "Variables, Expressions and Statements - Part 2",
"youtube" : "kefrGMAglGs"
},
{
"title" : "Worked Exercise: 2.2",
"youtube" : "_b-nVJrl02M"
},
{
"title" : "Worked Exercise: 2.3",
"youtube" : "DVmspDooG2c"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 2.2",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_02_02",
"custom" : [
{
"key": "exercise",
"value": "2.2"
}
]
},
{
"title" : "Autograder: Exercise 2.3",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_02_03",
"custom" : [
{
"key": "exercise",
"value": "2.3"
}
]
},
{
"title" : "Quiz: Variables Expressions and Statements",
"launch" : "mod/gift/?quiz=Py4Inf-02-Expressions.txt",
"resource_link_id" : "py4e_02_ex_quiz"
}
]
},
{
"title": "Conditional Execution",
"anchor": "logic",
"icon" : "fa-diamond",
"description": "We look at how Python executes some statements and skips others.",
"slides": "lectures3/Pythonlearn-03-Conditional.pptx",
"discussions" : [
{
"title" : "Conditional Execution",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_03"
}
],
"references" : [
{
"title" : "Chapter 3: Conditionals",
"href" : "{apphome}/html3/03-conditional"
}
],
"videos" : [
{
"title" : "Conditional Execution - Part 1",
"youtube" : "2aA3VBdcl6A"
},
{
"title" : "Conditional Execution - Part 2",
"youtube" : "OczkNrHPBps"
},
{
"title" : "Worked Exercise 3.1",
"youtube" : "oUMQbZ4SBuM"
},
{
"title" : "Worked Exercise 3.2",
"youtube" : "-iUA4cCKRlM"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 3.1",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_03_01",
"custom" : [
{
"key": "exercise",
"value": "3.1"
}
]
},
{
"title" : "Autograder: Exercise 3.3",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_03_03",
"custom" : [
{
"key": "exercise",
"value": "3.3"
}
]
},
{
"title" : "Quiz: Conditional Execution",
"launch" : "mod/gift/?quiz=Py4Inf-03-Conditional.txt",
"resource_link_id" : "py4e_03_if_quiz"
}
]
},
{
"title": "Functions",
"anchor": "functions",
"icon" : "fa-files-o",
"description": "Take a brief look at how Python implements the 'store and use later' programming pattern.",
"slides": "lectures3/Pythonlearn-04-Functions.pptx",
"discussions" : [
{
"title" : "Functions",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_04"
}
],
"references" : [
{
"title" : "Chapter 4: Functions",
"href" : "{apphome}/html3/04-functions"
}
],
"videos" : [
{
"title" : "Functions - Part 1",
"youtube" : "5Kzw-0-DQAk"
},
{
"title" : "Functions - Part 2",
"youtube" : "AJVNYRqn8kM"
},
{
"title" : "Worked Exercise 4.6",
"youtube" : "l93PhBUJ_S0"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 4.6",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_04_06",
"custom" : [
{
"key": "exercise",
"value": "4.6"
}
]
},
{
"title" : "Quiz: Functions",
"launch" : "mod/gift/?quiz=Py4Inf-04-Functions.txt",
"resource_link_id" : "py4e_04_def_quiz"
}
]
},
{
"title": "Loops and Iterations",
"anchor": "loops",
"icon" : "fa-gears",
"description": "We look at how Python repeats statements using looping structures.",
"slides": "lectures3/Pythonlearn-05-Iterations.pptx",
"discussions" : [
{
"title" : "Loops and Iterations",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_05"
}
],
"references" : [
{
"title" : "Chapter 5: Iterations",
"href" : "{apphome}/html3/05-iterations"
}
],
"videos" : [
{
"title" : "Loops and Iteration - Part 1",
"youtube" : "FzpurxjwmsM"
},
{
"title" : "Loops and Iteration - Part 2",
"youtube" : "5QDrj5ogPYc"
},
{
"title" : "Loops and Iteration - Part 3",
"youtube" : "xsavQp8hd78"
},
{
"title" : "Loops and Iteration - Part 4",
"youtube" : "yjlMMwf9Y5I"
},
{
"title" : "Worked Exercise: 5.1",
"youtube" : "R2GrfqRofZc"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 5.2",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_05_02",
"custom" : [
{
"key": "exercise",
"value": "5.2"
}
]
},
{
"title" : "Quiz: Loops and Iterations",
"launch" : "mod/gift/?quiz=Py4Inf-05-Iterations.txt",
"resource_link_id" : "py4e_05_for_quiz"
}
]
},
{
"title": "Strings",
"anchor": "strings",
"icon" : "fa-file-text-o",
"description": "We look at how Python stores and manipulates textual data using string variables and functions.",
"slides": "lectures3/Pythonlearn-06-Strings.pptx",
"discussions" : [
{
"title" : "Strings",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_06"
}
],
"references" : [
{
"title" : "Chapter 6: Strings",
"href" : "{apphome}/html3/06-strings"
}
],
"videos" : [
{
"title" : "Strings - Part 1",
"youtube" : "dr98iM4app8"
},
{
"title" : "Strings - Part 2",
"youtube" : "bIFpJ-qZ3Cc"
},
{
"title" : "Worked Exercise: 6.5",
"youtube" : "BGTxwsDI9KY"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 6.5",
"resource_link_id": "pythonauto_06_05",
"launch" : "tools/pythonauto/",
"custom" : [
{
"key": "exercise",
"value": "6.5"
}
]
},
{
"title" : "Quiz: Strings",
"launch" : "mod/gift/?quiz=Py4Inf-06-Strings.txt",
"resource_link_id" : "py4e_06_str_quiz"
}
]
},
{
"title": "Files",
"anchor": "files",
"icon" : "fa-database",
"description": "We learn how to open data files on your computer and read through the files using Python.",
"slides": "lectures3/Pythonlearn-07-Files.pptx",
"discussions" : [
{
"title" : "Files",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_07"
}
],
"references" : [
{
"title" : "Chapter 7: Files",
"href" : "{apphome}/html3/07-files"
}
],
"videos" : [
{
"title" : "Reading Files - Part 1",
"youtube" : "9KJ-XeQ6ZlI"
},
{
"title" : "Reading Files - Part 2",
"youtube" : "0t4rvnySKR4"
},
{
"title" : "Worked Exercise: 7.1",
"youtube" : "MHZ4KnFZ7Y0"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 7.2",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_07_02",
"custom" : [
{
"key": "exercise",
"value": "7.2"
}
]
},
{
"title" : "Quiz: Files",
"launch" : "mod/gift/?quiz=Py4Inf-07-Files.txt",
"resource_link_id" : "py4e_07_files_quiz"
}
]
},
{
"title": "Lists",
"anchor": "lists",
"icon" : "fa-list-ol",
"description": "We look at Python's simplest data structure - the list. Lists can store more than one item in a variable.",
"slides": "lectures3/Pythonlearn-08-Lists.pptx",
"discussions" : [
{
"title" : "Lists",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_08"
}
],
"references" : [
{
"title" : "Chapter 8: Lists",
"href" : "{apphome}/html3/08-lists"
}
],
"videos" : [
{
"title" : "Lists - Part 1",
"youtube" : "ljExWqnWQvo"
},
{
"title" : "Lists - Part 2",
"youtube" : "bV1FQUBIApM"
},
{
"title" : "Lists - Part 3",
"youtube" : "GxADdpo6EP4"
},
{
"title" : "Lists, Files and the Guardian Pattern",
"youtube" : "WU6_0A9zYRA"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 8.4",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_08_04",
"custom" : [
{
"key": "exercise",
"value": "8.4"
}
]
},
{
"title" : "Autograder: Exercise 8.5",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_08_05",
"custom" : [
{
"key": "exercise",
"value": "8.5"
}
]
},
{
"title" : "Quiz: Lists",
"launch" : "mod/gift/?quiz=Py4Inf-08-Lists.txt",
"resource_link_id" : "py4e_08_list_quiz"
}
]
},
{
"title": "Dictionaries",
"anchor": "dictionary",
"icon" : "fa-key",
"description": "The dictionary data structures allows us to store multiple values in an object and look up the values by their key.",
"slides": "lectures3/Pythonlearn-09-Dictionaries.pptx",
"discussions" : [
{
"title" : "Dictionaries",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_09"
}
],
"videos" : [
{
"title" : "Dictionaries - Part 1",
"youtube" : "yDDRMb-1cxI"
},
{
"title" : "Dictionaries - Part 2",
"youtube" : "LRSIuH94XM4"
},
{
"title" : "Dictionaries - Part 3",
"youtube" : "ZDjiFB1Ib84"
},
{
"title" : "Counting Word Frequency using a Dictionary",
"youtube" : "lLbyEYjU55A"
}
],
"references" : [
{
"title" : "Chapter 9: Dictionaries",
"href" : "{apphome}/html3/09-dictionaries"
},
{
"title" : "Fun: Sesame Street - The Count",
"href" : "https://www.youtube.com/watch?v=EHJ9uYx5L58"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 9.4",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_09_04",
"custom" : [
{
"key": "exercise",
"value": "9.4"
}
]
},
{
"title" : "Quiz: Dictionaries",
"launch" : "mod/gift/?quiz=Py4Inf-09-Dictionaries.txt",
"resource_link_id" : "py4e_09_dict_quiz"
}
]
},
{
"title": "Tuples",
"anchor": "tuples",
"icon" : "fa-inbox",
"description": "The tuple is a Python data structure that is like a simple and efficient list.",
"slides": "lectures3/Pythonlearn-10-Tuples.pptx",
"discussions" : [
{
"title" : "Tuples",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_10"
}
],
"references" : [
{
"title" : "Chapter 10: Tuples",
"href" : "{apphome}/html3/10-tuples"
}
],
"videos" : [
{
"title" : "Tuples - Part 1",
"youtube" : "CaVhM65wD6g"
},
{
"title" : "Tuples - Part 2",
"youtube" : "FdUdA6o0Ij0"
},
{
"title" : "Sorting a Dictionary Using Tuples",
"youtube" : "hMJpet-gtc0"
}
],
"lti" : [
{
"title" : "Autograder: Exercise 10.2",
"launch" : "tools/pythonauto/",
"resource_link_id": "pythonauto_10_02",
"custom" : [
{
"key": "exercise",
"value": "10.2"
}
]
},
{
"title" : "Quiz: Tuples",
"launch" : "mod/gift/?quiz=Py4Inf-10-Tuples.txt",
"resource_link_id" : "py4e_10_tup_quiz"
}
]
},
{
"title": "Regular Expressions",
"anchor": "regex",
"icon" : "fa-magic",
"description": "Regular Expressions allow us to search for patterns in strings and extract data from strings using the regular expression programming language.",
"slides": "lectures3/Pythonlearn-11-Regex.pptx",
"discussions" : [
{
"title" : "Regular Expressions",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_11"
}
],
"videos" : [
{
"title" : "Regular Expressions - Part 1",
"youtube" : "ovZsvN67Glc"
},
{
"title" : "Regular Expressions - Part 2",
"youtube" : "fiar4QZZ7Xo"
},
{
"title" : "Regular Expressions - Part 3",
"youtube" : "GiQdXo2Bvgc"
}
],
"references" : [
{
"title" : "Chapter 11: Regular Expressions",
"href" : "{apphome}/html3/11-regex"
},
{
"title" : "Python Regular Expression Quick Guide",
"href" : "lectures3/Pythonlearn-11-Regex-Handout.txt"
}
],
"lti" : [
{
"title" : "Autograder: Regular Expressions",
"launch" : "tools/python-data/",
"resource_link_id": "pythondata_01_regex",
"custom" : [
{
"key": "exercise",
"value": "regex_sum.php"
}
]
},
{
"title" : "Quiz: Regular Expressions",
"launch" : "mod/gift/?quiz=Py4Inf-11-Regex.txt",
"resource_link_id" : "py4e_11_reg_quiz"
}
]
},
{
"title": "Network Programming",
"anchor": "network",
"icon" : "fa-cloud",
"description": "We take a quick look at how data moves across the network using the HyperText Transport Protocol (HTTP) and how we write programs to read data across the network.",
"slides": "lectures3/Pythonlearn-12-HTTP.pptx",
"discussions" : [
{
"title" : "Network Programming",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_12"
}
],
"references" : [
{
"title" : "Chapter 12: Networked Programs",
"href" : "{apphome}/html3/12-network"
},
{
"title" : "ASCII Coding and Binary",
"href" : "https://www.youtube.com/watch?v=H4l42nbYmrU&t=308s"
},
{
"title" : "Characters, Symbols and the Unicode Miracle - Computerphile",
"href" : "https://www.youtube.com/watch?v=MijmeoH9LT4&t=385s"
}
],
"videos" : [
{
"title" : "Networks and Packets - Part 1",
"youtube" : "RsnaRPC52G0"
},
{
"title" : "Servers and Protocols - Part 2",
"youtube" : "Bvx7vY454xw"
},
{
"title" : "Using HTTP in Python - Part 3",
"youtube" : "Lr9Vm-VghAk"
},
{
"title" : "Worked Example: Sockets",
"youtube" : "EqUyu8ZZYUE"
},
{
"title" : "Characters, ASCII, and Unicode - Part 4",
"youtube" : "-cmlmaVSONg"
},
{
"title" : "Using urllib in Python - Part 5",
"youtube" : "k1sUxGPpQOk"
},
{
"title" : "Worked Example: Urllib",
"youtube" : "jKaCKIdIoks"
},
{
"title" : "Beautiful Soup in Python - Part 6",
"youtube" : "D7ZI8--qbBw"
},
{
"title" : "Worked Example: BeautifulSoup",
"youtube" : "mhaHWiSPxxE"
}
],
"lti" : [
{
"title" : "Autograder: Request-Response Cycle",
"launch" : "tools/python-data/",
"resource_link_id": "pythondata_02_rrc",
"custom" : [
{
"key": "exercise",
"value": "http_headers.php"
}
]
},
{
"title" : "Autograder: Scraping HTML Data with BeautifulSoup",
"launch" : "tools/python-data/",
"resource_link_id": "pythondata_03_html",
"custom" : [
{
"key": "exercise",
"value": "comment_html.php"
}
]
},
{
"title" : "Autograder: Following Links with BeautifulSoup",
"launch" : "tools/python-data/",
"resource_link_id": "pythondata_04_links",
"custom" : [
{
"key": "exercise",
"value": "knows.php"
}
]
},
{
"title" : "Quiz: HTTP",
"launch" : "mod/gift/?quiz=Py4Inf-12-HTTP.txt",
"resource_link_id" : "py4e_12_http_quiz"
}
]
},
{
"title": "Using Web Services",
"anchor": "servces",
"icon" : "fa-briefcase",
"description": "Web services allow a program to access data available in a different server.",
"slides": "lectures3/Pythonlearn-13-WebServices.pptx",
"discussions" : [
{
"title" : "Using Web Services",
"launch" : "mod/tdiscus/",
"resource_link_id": "discuss_chap_13"
}
],
"references" : [
{
"title" : "Chapter 13: Python and Web Services",
"href" : "{apphome}/html3/13-web"
}
],
"videos" : [
{
"title" : "Web Services - Part 1",
"youtube" : "7NEtEctD9Cw"
},
{
"title" : "Web Services - XML (Part 2)",
"youtube" : "A8KcBx9153Y"
},
{
"title" : "Worked Example: XML",
"youtube" : "7q8uUehNRK0"
},
{
"title" : "Web Services - XML Schema (Part 3)",
"youtube" : "0cA6W-4JPQ4"
},
{
"title" : "Web Services - JSON (Part 4)",
"youtube" : "J5DjteDzgoM"
},
{
"title" : "Worked Example: JSON",
"youtube" : "RGQfDirZ7_s"
},