Skip to content

Commit 71d33bb

Browse files
committed
updated lightning talk people for all sessions
1 parent 6b6bd38 commit 71d33bb

File tree

8 files changed

+125
-52
lines changed

8 files changed

+125
-52
lines changed

slides_sources/source/exercises/string_formatting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ A Couple Exercises
3333

3434
and produce:
3535

36-
``'file_002 : 123.46, 1e+04'``
36+
``'file_002 : 123.46, 1.00e+04'``
3737

3838
**Note:** the idea behind the "file_002" is that if you have a bunch of files that you want to name with numbers that can be sorted, you need to "pad" the numbers with zeros to get the right sort order.
3939

slides_sources/source/session04.rst

Lines changed: 65 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
Session Four: Dictionaries, Sets, and Files
55
*******************************************
66

7-
87
================
98
Review/Questions
109
================
@@ -35,11 +34,13 @@ Lightning Talks Today:
3534

3635
.. rst-class:: mlarge
3736

38-
Andrey Gusev
37+
Abdishu Hagi
38+
39+
Enrique R Silva
3940

40-
Cheryl Ohashi
41+
Isaac Cowhey
4142

42-
Maxwell MacCamy
43+
Paul G Anderson
4344

4445

4546
==============================
@@ -68,7 +69,7 @@ You can do that in a for loop, also:
6869
In [4]: l = [(1, 2), (3, 4), (5, 6)]
6970
7071
In [5]: for i, j in l:
71-
print("i:%i, j:%i"%(i, j))
72+
print("i:{}, j:{}".format(i, j))
7273
7374
i:1, j:2
7475
i:3, j:4
@@ -77,8 +78,8 @@ You can do that in a for loop, also:
7778
(Mailroom example)
7879

7980

80-
Looping through two loops at once:
81-
----------------------------------
81+
Looping through two iterables at once:
82+
--------------------------------------
8283

8384
.. rst-class:: mlarge
8485

@@ -91,8 +92,8 @@ Looping through two loops at once:
9192
In [11]: l2 = [3, 4, 5]
9293
9394
In [12]: for i, j in zip(l1, l2):
94-
....: print("i:%i, j:%i"%(i, j))
95-
....:
95+
print("i:{}, j:{}".format(i, j))
96+
9697
i:1, j:3
9798
i:2, j:4
9899
i:3, j:5
@@ -116,7 +117,7 @@ Need the index and the item?
116117
In [2]: l = ['this', 'that', 'the other']
117118
118119
In [3]: for i, item in enumerate(l):
119-
...: print("the %ith item is: %s"%(i, item))
120+
...: print("the {:d}th item is: {:s}".format(i, item))
120121
...:
121122
the 0th item is: this
122123
the 1th item is: that
@@ -171,10 +172,25 @@ What is this::
171172

172173
about?
173174

175+
Every module has a __name__
176+
177+
If the module is loaded by ``import`` then it's name is the filename.
178+
179+
If the module is run at the command line, like:
180+
181+
.. code-block:: bash
182+
183+
python3 the_module.py
184+
185+
Then it's ``__name__`` will be "__main__"
186+
187+
This can be used to run code only when a module is run as a command,
188+
but not when it is imported.
189+
174190
(demo)
175191

176192
assert
177-
--------
193+
------
178194

179195
What is ``assert`` for?
180196

@@ -187,10 +203,33 @@ in operational code should be::
187203
if m < 0:
188204
raise ValueError
189205

190-
I'll cover next week ...
206+
I'll cover more next week ...
191207

192208
(Asserts get ignored if optimization is turned on!)
193209

210+
what the heck is reversed()?
211+
----------------------------
212+
213+
I had a question in a PR:
214+
215+
"what is ``reversed(x)``'s resultant object? what good is it?""
216+
217+
.. nextslide::
218+
219+
try it:
220+
221+
.. code-block:: ipython
222+
223+
In [14]: type(reversed(l))
224+
Out[14]: list_reverseiterator
225+
226+
so it's a ``list_reverseiterator`` object -- not helpful, is it :-)
227+
228+
But what it means is that it's an "iterable" that you can then do things like loop through with a for loop, etc. but it hasn't made a copy of the list -- it returns the items one by one as they are asked for. this has performance benefits, as it doesn't have to make a copy of the whole thing.
229+
230+
So you use it if you want to loop through something in reversed order, but dont actually need an actual list with the order reversed.
231+
232+
we'll get more into the details of iterators and iterables later in the class.
194233

195234
=================
196235
A little warm up
@@ -203,6 +242,15 @@ Fun with strings
203242

204243
- for an arbitrary number of numbers...
205244

245+
===============
246+
Lightning Talks
247+
===============
248+
249+
|
250+
| Isaac Cowhey
251+
|
252+
| Paul G Anderson
253+
|
206254
207255
=====================
208256
Dictionaries and Sets
@@ -662,13 +710,14 @@ Have some fun with dictionaries and sets!
662710
:ref:`exercise_dict_lab`
663711

664712

665-
Lightning Talk
666-
--------------
713+
Lightning Talks
714+
---------------
667715

668716
|
669-
| Maxwell MacCamy
717+
| Abdishu Hagi
718+
|
719+
| Enrique R Silva
670720
|
671-
672721
673722
========================
674723
File Reading and Writing

slides_sources/source/session05.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ Lightning Talks Today:
1010

1111
.. rst-class:: medium
1212

13-
Michael Cimino
13+
Alexander C Truong
1414

15-
Pei Lin
15+
Darryl Wong
1616

17-
Tiffany Ku
17+
Madhumita Acharya
18+
19+
Matthew T Weidner
1820

1921
================
2022
Review/Questions
@@ -399,10 +401,10 @@ Lightning Talks
399401
.. rst-class:: medium
400402

401403
|
402-
| Michael Cimino
404+
| Alexander C Truong
403405
|
404406
|
405-
| Pei Lin
407+
| Darryl Wong
406408
|
407409
408410

@@ -581,14 +583,15 @@ List comps exercises:
581583
582584
583585
584-
Lightning Talk
585-
----------------
586+
Lightning Talks
587+
---------------
586588
587589
.. rst-class:: medium
588590
589591
|
590-
| Tiffany Ku
592+
| Madhumita Acharya
591593
|
594+
| Matthew T Weidner
592595
593596
594597
=======

slides_sources/source/session06.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ Lightning Talks Today:
1111

1212
.. rst-class:: medium
1313

14-
Gabriel Meringolo
14+
Adam Hollis
1515

16-
Joseph Cardenas
16+
Nachiket Galande
1717

18-
Marc Teale
18+
Paul A Casey
1919

2020
================
2121
Review/Questions
@@ -256,12 +256,11 @@ Lightning Talks
256256

257257
.. rst-class:: medium
258258

259-
|
260-
| Gabriel Meringolo
261-
|
262-
| Joseph Cardenas
263-
|
264-
259+
|
260+
| Adam Hollis
261+
|
262+
| Nachiket Galande
263+
|
265264
266265
=====================================
267266
A bit more on mutability (and copies)
@@ -670,7 +669,7 @@ Lightning Talk
670669
.. rst-class:: medium
671670

672671
|
673-
| Marc Teale
672+
| Paul A Casey
674673
|
675674
676675
==============

slides_sources/source/session07.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,12 @@ Lightning Talks Today:
8181

8282
.. rst-class:: medium
8383

84-
Eric Vegors
84+
Charles E Robison
8585

86-
Ian Cote
86+
Paul S Briant
87+
88+
Paul Vosper
8789

88-
Masako Tebbetts
8990

9091
===========================
9192
Object Oriented Programming
@@ -446,11 +447,12 @@ Lightning Talks
446447
.. rst-class:: medium
447448

448449
|
449-
| Eric Vegors
450+
| Charles E Robison
451+
|
452+
| Paul S Briant
450453
|
451-
| Ian Cote
454+
| Paul Vosper
452455
|
453-
| Masako Tebbetts
454456
455457
=======================
456458
Subclassing/Inheritance

slides_sources/source/session08.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Lightning Talks Today:
2525

2626
.. rst-class:: medium
2727

28-
Robert Ryan Leslie
28+
Brandon Chavis
2929

30-
Ryan Morin
30+
Jay N Raina
31+
32+
Josh Hicks
3133

3234

3335
Personal Project
@@ -247,10 +249,11 @@ Lightning talks:
247249

248250
.. rst-class:: medium
249251

250-
Robert Ryan Leslie
252+
Brandon Chavis
251253

252-
Ryan Morin
254+
Jay N Raina
253255

256+
Josh Hicks
254257

255258
========================
256259
Static and Class Methods

slides_sources/source/session09.rst

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ Lightning Talks Today:
1515

1616
.. rst-class:: medium
1717

18-
Erica Winberry
18+
Jack M Hefner
1919

20-
Robert Jenkins
20+
Ninad Naik
2121

22-
Kathleen Devlin
22+
Simbarashe P Change
2323

2424
================
2525
Review/Questions
@@ -239,6 +239,19 @@ In the ``Examples/session09`` dir, you will find:
239239
- is range an iterator or an iteratable?
240240

241241

242+
===============
243+
Lightning Talks
244+
===============
245+
246+
|
247+
| Jack M Hefner
248+
|
249+
| Ninad Naik
250+
|
251+
| Simbarashe P Change
252+
|
253+
254+
242255
Generators
243256
----------
244257

slides_sources/source/session10.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ Lightning Talks Today:
4444

4545
.. rst-class:: medium
4646

47-
Austin Scara
47+
Marcus D Williams
4848

49-
Marty Pitts
49+
Minghao Yang
50+
51+
Sasi Mandava
5052

5153

5254
============
@@ -500,9 +502,11 @@ Lightning Talks
500502
.. rst-class:: medium
501503

502504
|
503-
| Austin Scara
505+
| Marcus D Williams
506+
|
507+
| Minghao Yang
504508
|
505-
| Marty Pitts
509+
| Sasi Mandava
506510
|
507511
508512

0 commit comments

Comments
 (0)