Skip to content

Commit 5bb813b

Browse files
committed
first presentationin place -- lightning talk scheduler tested
1 parent 0f57158 commit 5bb813b

6 files changed

Lines changed: 205 additions & 13 deletions

File tree

Examples/Session01/schedule.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
"""
2+
Schedule students for lightning talks, fall 2014
3+
"""
4+
import random
5+
6+
students = open('students.txt').readlines()
7+
8+
# remove the header line
9+
del students[0]
10+
11+
# clean it up a bit:
12+
13+
# remove the languages, colon, etc.
14+
students = [line.split(":")[0] for line in students]
15+
16+
# reverse the first, last names
17+
18+
# separate them:
19+
students = [line.split(",") for line in students]
20+
21+
# put them back together
22+
students = [first + last for last, first in students]
23+
24+
random.shuffle(students)
25+
26+
weeks = range(2,11)
27+
28+
weeks4 = weeks*4
29+
30+
schedule = zip(weeks4, students)
31+
32+
schedule.sort()
33+
34+
outfile = open('schedule.txt', 'w')
35+
36+
for week, student in schedule:
37+
line = 'week %s: %s\n' % (week, student)
38+
print line,
39+
outfile.write(line)
40+
outfile.close()

Examples/Session01/students.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: languages
2+
Albright, Ryan J :
3+
Ascoli, Louis John :
4+
Balcarce, Darcy :
5+
Brand, Ralph P :
6+
Buer, Eric :
7+
Claessens, Michel :
8+
Conde, Ousmane :
9+
Davis, Bryan L :
10+
Davis, Ian M :
11+
Evans, Carolyn J :
12+
Fischer, Henry B :
13+
Fries, Lauren :
14+
Fugelso, David :
15+
Fukuhara, Wayne R :
16+
Galvin, Alexander R :
17+
Gupta, Vinay :
18+
Hamed, Salim Hassan :
19+
Hart, Kyle R :
20+
Hashemloo, Alireza :
21+
Huynh, Chantal :
22+
Kazakova, Alexandra N :
23+
Klock, Andrew P :
24+
Kramer, Aleksey :
25+
Lottsfeldt, Erik Ivan :
26+
Marcos, Danielle G :
27+
Mier, Benjamin C :
28+
Nunn, James B :
29+
Perkins, Robert W :
30+
Reece, Lesley D :
31+
Schwafel, Schuyler Alan :
32+
Simmons, Arielle R :
33+
Sylvan, Gideon I :
34+
Westman, Eric W :
35+
Zhang, Hui :
36+
Zhu, Changquing :

Students/Readme.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This is a dir for student's work.
2+
3+
If you want to put your work here for review:
4+
5+
* "fork" this repository in gitHub (make a copy in your own gitHub account)
6+
* Create a directoy in this directory with your name
7+
* put your work in that directory in some organised fashion
8+
* commit those changes to your gitHub repo
9+
* submit a "pull request"
10+

slides_sources/build_gh_pages.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
3+
# simple script to build and push to gh-pages
4+
# designed to be run from master
5+
6+
# make the docs
7+
make html
8+
9+
# copy to other repo (on the gh-pages branch)
10+
cp -R build/html/ ../../IntroToPython.gh-pages
11+
12+
cd ../../IntroToPython.gh-pages
13+
git add * # in case there are new files added
14+
git commit -a
15+
git push

slides_sources/source/conf.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -291,17 +291,9 @@
291291
'name': u'Christopher Barker',
292292
'email': u'PythonCHB@gmail.com',
293293
'github': u'https://github.com/PythonCHB',
294-
'company': u'UW Prof. and Continuing Education Program'
294+
'company': u'UW Professional and Continuing Education Program'
295295
},
296296
# {
297-
# 'name': u'Dan Hable',
298-
# 'email': u'dhable@gmail.com',
299-
# # 'twitter': '@crisewing',
300-
# # 'www': 'http://crisewing.com',
301-
# 'github': u'http://github.com/dhable',
302-
# 'company': u''
303-
# },
304-
# {
305297
# 'name': 'Cris Ewing',
306298
# 'twitter': '@crisewing',
307299
# 'www': 'http://crisewing.com',

slides_sources/source/session01.rst

Lines changed: 103 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,120 @@ Course Materials Online
6464

6565
A rendered HTML copy of the slides for this course may be found online at:
6666

67-
http://uwpce-pythoncert.github.io/IntroToPython/session01.html
67+
http://uwpce-pythoncert.github.io/IntroToPython
6868

6969
Also there are same homework descriptions and supplemental materials.
7070

71-
The source of these materials are in Class gitHub repo:
71+
The source of these materials are in the class gitHub repo:
7272

7373
https://github.com/UWPCE-PythonCert/IntroToPython
7474

7575
Class email list: We will be using this list to communicate for this class:
7676

77-
programming-in-python@googlegroups.com
77+
programming-in-python@googlegroups.com
7878

79-
You should have (or will soone) received and email invitation to join
79+
You should have (or will soon) received and email invitation to join
8080
the mailing list.
8181

82+
83+
Class Structure
84+
---------------
85+
86+
Class Time:
87+
88+
* Some lecture, lots of demos
89+
* Lab time: lots of hand-on practice
90+
* Lather, Rinse, Repeat.....
91+
92+
Interrupt me with questions -- please!
93+
94+
(Some of the best learning prompted by questions)
95+
96+
Homework:
97+
----------
98+
99+
* Assigned at each class
100+
101+
* You are adults -- it's up to you to do it
102+
103+
* You can do a gitHub "pull request" if you want us to review it.
104+
105+
* I'll review at the next class
106+
107+
108+
Mailing list and Office Hours
109+
------------------------------
110+
111+
We've set up a google group -- you will all be invited to join::
112+
113+
programming-in-python@googlegroups.com
114+
115+
Office Hours:
116+
117+
I generally will hold "office hours" at a coffee shop for a couple hours each
118+
weekend.
119+
120+
Nathan can do some as well.
121+
122+
What are good times for you?
123+
124+
125+
126+
Lightning Talks
127+
----------------
128+
129+
Lightning Talks:
130+
131+
* 5 minutes (including setup) - no kidding!
132+
* Every student will give one
133+
* Purposes: introduce yourself, share interests, also show Python applications
134+
* Any topic you like, that is related to Python -- according to you!
135+
136+
We need to schedule them -- let's use Python for that!
137+
138+
139+
Python Ecosystem
140+
-----------------
141+
142+
Python is Used for:
143+
144+
* CS education (this course!)
145+
* Application scripting (GIS, GNU Radio, Blender...)
146+
* Systems administration and "glue"
147+
* Web applications (Django etc. etc. etc.)
148+
* Scientific/technical computing (a la MATLAB, R, .... )
149+
* Software tools (automated software testing, distributed version control, ...)
150+
* Research (natural language, graph theory, distributed computing, ...)
151+
152+
An unusually large number of niches -- versatile
153+
154+
.. nextslide::
155+
156+
Used by:
157+
158+
* Beginners
159+
* Professional software developers, computer system administrators, ...
160+
* Professionals OTHER THAN computer specialists: biologists, urban planners, ....
161+
162+
An unusually large number of types of users -- versatile
163+
164+
You can be productive in Python WITHOUT full-time immersion!
165+
166+
167+
Python Features
168+
---------------
169+
170+
Gets many things right:
171+
172+
* Readable -- looks nice, makes sense
173+
* No ideology about best way to program -- object-oriented programming, functional, etc.
174+
* No platform preference -- Windows, Mac, Linux, ...
175+
* Easy to connect to other languages -- C, Fortran - essential for science/math
176+
* Large standard library
177+
* Even larger network of external packages
178+
* Countless conveniences, large and small, make it pleasant to work with
179+
180+
82181
What is Python?
83182
---------------
84183

0 commit comments

Comments
 (0)