From 1bf46c68d4c1bb2cf05e9a8922a7153660bcf045 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Sat, 21 Sep 2019 18:10:52 -0700 Subject: [PATCH 1/3] commited on 09/20/2019 at 18:11 --- Cisco Catalyst9300 switch.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 Cisco Catalyst9300 switch.txt diff --git a/Cisco Catalyst9300 switch.txt b/Cisco Catalyst9300 switch.txt new file mode 100644 index 00000000..13c72617 --- /dev/null +++ b/Cisco Catalyst9300 switch.txt @@ -0,0 +1 @@ +Cisco Catalyst 9300 switch hsa 16GB flash memory, it is awesome !! From b82d499d20d6d8ae0a95e0c3a74a245fcadd1bd0 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Sat, 21 Sep 2019 18:20:55 -0700 Subject: [PATCH 2/3] modified lightning_schedule.txt --- lightning_schedule.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning_schedule.txt b/lightning_schedule.txt index 2810ff3e..776506fb 100644 --- a/lightning_schedule.txt +++ b/lightning_schedule.txt @@ -17,7 +17,7 @@ week 5: Kyle R Hart week 6: Aleksey Kramer week 6: Alexander R Galvin week 6: Gideon I Sylvan -week 6: Hui Zhang +week 6: Hui(Jerry) Zhang week 7: Andrew P Klock week 7: Danielle G Marcos week 7: Ousmane Conde From 575ea2c7391a35f04caf7224c4fcca82de0841dd Mon Sep 17 00:00:00 2001 From: jerry zhang Date: Sat, 2 Jan 2021 13:35:23 -0800 Subject: [PATCH 3/3] revised on 01022021 --- Examples/Session01/schedule.py | 29 ++++---------- Examples/Session01/schedule.txt | 70 ++++++++++++++++----------------- 2 files changed, 43 insertions(+), 56 deletions(-) diff --git a/Examples/Session01/schedule.py b/Examples/Session01/schedule.py index fb9602de..9776cf5f 100644 --- a/Examples/Session01/schedule.py +++ b/Examples/Session01/schedule.py @@ -2,39 +2,26 @@ Schedule students for lightning talks, fall 2014 """ import random - -students = open('students.txt').readlines() - +students = open('C:/Users/Jerry-mining/GitHub/IntroToPython/Examples/Session01/students.txt').readlines() # remove the header line del students[0] - # clean it up a bit: - # remove the languages, colon, etc. students = [line.split(":")[0] for line in students] - # reverse the first, last names - # separate them: students = [line.split(",") for line in students] - # put them back together students = [first + last for last, first in students] - random.shuffle(students) - -weeks = range(2,11) - -weeks4 = weeks*4 - -schedule = zip(weeks4, students) - -schedule.sort() - -outfile = open('schedule.txt', 'w') - +weeks = range(2,38) +# weeks = 4 +# weeks4 = weeks*4 +schedule = zip(weeks, students) +# schedule.sort() +outfile = open('C:/Users/Jerry-mining/GitHub/IntroToPython/Examples/Session01/schedule.txt', 'w') for week, student in schedule: line = 'week %s: %s\n' % (week, student) - print line, + print (line), outfile.write(line) outfile.close() diff --git a/Examples/Session01/schedule.txt b/Examples/Session01/schedule.txt index 59a173f1..0858a181 100644 --- a/Examples/Session01/schedule.txt +++ b/Examples/Session01/schedule.txt @@ -1,35 +1,35 @@ -week 2: Chantal Huynh -week 2: Eric Buer -week 2: Ian M Davis -week 2: Schuyler Alan Schwafel -week 3: James Brent Nunn -week 3: Lauren Fries -week 3: Lesley D Reece -week 3: Michel Claessens -week 4: Benjamin C Mier -week 4: Robert W Perkins -week 4: Vinay Gupta -week 4: Wayne R Fukuhara -week 5: Darcy Balcarce -week 5: David Fugelso -week 5: Henry B Fischer -week 5: Kyle R Hart -week 6: Aleksey Kramer -week 6: Alexander R Galvin -week 6: Gideon I Sylvan -week 6: Hui Zhang -week 7: Andrew P Klock -week 7: Danielle G Marcos -week 7: Ousmane Conde -week 7: Salim Hassan Hamed -week 8: Alireza Hashemloo -week 8: Arielle R Simmons -week 8: Eric W Westman -week 8: Ryan J Albright -week 9: Alexandra N Kazakova -week 9: Erik Ivan Lottsfeldt -week 9: Louis John Ascoli -week 9: Ralph P Brand -week 10: Bryan L Davis -week 10: Carolyn J Evans -week 10: Changqing Zhu +week 2: Gideon I Sylvan +week 3: Benjamin C Mier +week 4: Eric Buer +week 5: Lesley D Reece +week 6: Henry B Fischer +week 7: Vinay Gupta +week 8: Michel Claessens +week 9: James Brent Nunn +week 10: Arielle R Simmons +week 11: Schuyler Alan Schwafel +week 12: Bryan L Davis +week 13: Andrew P Klock +week 14: Alexandra N Kazakova +week 15: Alireza Hashemloo +week 16: Ian M Davis +week 17: Ousmane Conde +week 18: Erik Ivan Lottsfeldt +week 19: Louis John Ascoli +week 20: Danielle G Marcos +week 21: Lauren Fries +week 22: Hui Zhang +week 23: Carolyn J Evans +week 24: Aleksey Kramer +week 25: Ralph P Brand +week 26: Wayne R Fukuhara +week 27: Kyle R Hart +week 28: Alexander R Galvin +week 29: Darcy Balcarce +week 30: Ryan J Albright +week 31: Salim Hassan Hamed +week 32: Chantal Huynh +week 33: Changqing Zhu +week 34: David Fugelso +week 35: Robert W Perkins +week 36: Eric W Westman