|
22 | 22 | "level": 1, |
23 | 23 | "metadata": {}, |
24 | 24 | "source": [ |
25 | | - "Introduction to Python Workshop" |
26 | | - ] |
27 | | - }, |
28 | | - { |
29 | | - "cell_type": "markdown", |
30 | | - "metadata": {}, |
31 | | - "source": [ |
32 | | - "A programming community outreach workshop, brought to you by the generous volunteers from:\n", |
33 | | - "\n", |
34 | | - "* [PyLadies San Diego](www.meetup.com/sd-pyladies/)\n", |
35 | | - "* [San Diego Python User Group](www.meetup.com/pythonsd/)\n", |
36 | | - "* [Inland Empire Pyladies](www.meetup.com/iepyladies/)" |
| 25 | + "Introduction to Python Workshop\n", |
| 26 | + "Part 1" |
37 | 27 | ] |
38 | 28 | }, |
39 | 29 | { |
40 | 30 | "cell_type": "heading", |
41 | 31 | "level": 2, |
42 | 32 | "metadata": {}, |
43 | 33 | "source": [ |
44 | | - "Welcome!" |
45 | | - ] |
46 | | - }, |
47 | | - { |
48 | | - "cell_type": "markdown", |
49 | | - "metadata": {}, |
50 | | - "source": [ |
51 | | - "Workshop kickoff\n", |
52 | | - "\n", |
53 | | - "Special thanks to the sponsors of this free workshop:\n", |
54 | | - "* Ansir Innovation Center\n", |
55 | | - "* Python Software Foundation\n", |
56 | | - "\n", |
57 | | - "Introductions: who's here to teach and help you today.\n", |
58 | | - "* Name, 2-4 sentences about yourself\n", |
59 | | - "\n", |
60 | | - "We are all volunteers. If you enjoy this workshop and decide to continue with Python programming, we encourage you to volunteer at the next Intro to Python Workshop." |
| 34 | + "Welcome again!" |
61 | 35 | ] |
62 | 36 | }, |
63 | 37 | { |
|
68 | 42 | "The Game Plan" |
69 | 43 | ] |
70 | 44 | }, |
71 | | - { |
72 | | - "cell_type": "markdown", |
73 | | - "metadata": {}, |
74 | | - "source": [ |
75 | | - "Intro:\n", |
76 | | - "* Setup help and check-offs\n", |
77 | | - "* Why program with Python?\n", |
78 | | - "\n", |
79 | | - "First steps:\n", |
80 | | - "* Interactive lecture\n", |
81 | | - "* Practice\n", |
82 | | - "\n", |
83 | | - "Lists and loops:\n", |
84 | | - "* Interactive lecture\n", |
85 | | - "* Practice\n", |
86 | | - "\n", |
87 | | - "Wrap-up and next steps" |
88 | | - ] |
89 | | - }, |
90 | 45 | { |
91 | 46 | "cell_type": "heading", |
92 | 47 | "level": 2, |
|
152 | 107 | "```\n", |
153 | 108 | "\n", |
154 | 109 | "Once you've had your setup checked:\n", |
155 | | - "* Visit http://codeacademy.com and create an account, or sign in if you already have an account. This is very important: you will need this today.\n", |
156 | 110 | "* While waiting, introduce yourself to at least 3 of the people sitting near you. Tell them your name, something about yourself, and why you decided to come to today's workshop." |
157 | 111 | ] |
158 | 112 | }, |
|
171 | 125 | "After completing these steps, you should:\n", |
172 | 126 | "* Have Python installed\n", |
173 | 127 | "* Be able to enter and exit Python\n", |
174 | | - "* Have a Codeacademy account\n" |
175 | | - ] |
176 | | - }, |
177 | | - { |
178 | | - "cell_type": "heading", |
179 | | - "level": 6, |
180 | | - "metadata": {}, |
181 | | - "source": [ |
182 | | - "5 min Why Python is so great? (7 slides) while audience checks config" |
| 128 | + "\n" |
183 | 129 | ] |
184 | 130 | }, |
185 | 131 | { |
186 | 132 | "cell_type": "heading", |
187 | 133 | "level": 6, |
188 | 134 | "metadata": {}, |
189 | 135 | "source": [ |
190 | | - "10 min Let's get started with the interactive lecture" |
| 136 | + "Let's get started with the interactive lecture" |
191 | 137 | ] |
192 | 138 | }, |
193 | 139 | { |
|
245 | 191 | ], |
246 | 192 | "language": "python", |
247 | 193 | "metadata": {}, |
248 | | - "outputs": [] |
| 194 | + "outputs": [ |
| 195 | + { |
| 196 | + "metadata": {}, |
| 197 | + "output_type": "pyout", |
| 198 | + "prompt_number": 10, |
| 199 | + "text": [ |
| 200 | + "2" |
| 201 | + ] |
| 202 | + } |
| 203 | + ], |
| 204 | + "prompt_number": 10 |
249 | 205 | }, |
250 | 206 | { |
251 | 207 | "cell_type": "code", |
|
259 | 215 | { |
260 | 216 | "metadata": {}, |
261 | 217 | "output_type": "pyout", |
262 | | - "prompt_number": 1, |
| 218 | + "prompt_number": 11, |
263 | 219 | "text": [ |
264 | 220 | "0" |
265 | 221 | ] |
266 | 222 | } |
267 | 223 | ], |
268 | | - "prompt_number": 1 |
| 224 | + "prompt_number": 11 |
269 | 225 | }, |
270 | 226 | { |
271 | 227 | "cell_type": "markdown", |
|
274 | 230 | "Whole number 1 divided by whole number 2" |
275 | 231 | ] |
276 | 232 | }, |
| 233 | + { |
| 234 | + "cell_type": "code", |
| 235 | + "collapsed": false, |
| 236 | + "input": [ |
| 237 | + "3 / 2" |
| 238 | + ], |
| 239 | + "language": "python", |
| 240 | + "metadata": {}, |
| 241 | + "outputs": [ |
| 242 | + { |
| 243 | + "metadata": {}, |
| 244 | + "output_type": "pyout", |
| 245 | + "prompt_number": 12, |
| 246 | + "text": [ |
| 247 | + "1" |
| 248 | + ] |
| 249 | + } |
| 250 | + ], |
| 251 | + "prompt_number": 12 |
| 252 | + }, |
| 253 | + { |
| 254 | + "cell_type": "code", |
| 255 | + "collapsed": false, |
| 256 | + "input": [ |
| 257 | + "15 / 2" |
| 258 | + ], |
| 259 | + "language": "python", |
| 260 | + "metadata": {}, |
| 261 | + "outputs": [ |
| 262 | + { |
| 263 | + "metadata": {}, |
| 264 | + "output_type": "pyout", |
| 265 | + "prompt_number": 20, |
| 266 | + "text": [ |
| 267 | + "7" |
| 268 | + ] |
| 269 | + } |
| 270 | + ], |
| 271 | + "prompt_number": 20 |
| 272 | + }, |
277 | 273 | { |
278 | 274 | "cell_type": "code", |
279 | 275 | "collapsed": false, |
|
302 | 298 | ], |
303 | 299 | "language": "python", |
304 | 300 | "metadata": {}, |
305 | | - "outputs": [] |
| 301 | + "outputs": [ |
| 302 | + { |
| 303 | + "metadata": {}, |
| 304 | + "output_type": "pyout", |
| 305 | + "prompt_number": 3, |
| 306 | + "text": [ |
| 307 | + "4" |
| 308 | + ] |
| 309 | + } |
| 310 | + ], |
| 311 | + "prompt_number": 3 |
306 | 312 | }, |
307 | 313 | { |
308 | 314 | "cell_type": "code", |
|
379 | 385 | ], |
380 | 386 | "language": "python", |
381 | 387 | "metadata": {}, |
382 | | - "outputs": [] |
| 388 | + "outputs": [ |
| 389 | + { |
| 390 | + "metadata": {}, |
| 391 | + "output_type": "pyout", |
| 392 | + "prompt_number": 6, |
| 393 | + "text": [ |
| 394 | + "0" |
| 395 | + ] |
| 396 | + } |
| 397 | + ], |
| 398 | + "prompt_number": 6 |
383 | 399 | }, |
384 | 400 | { |
385 | 401 | "cell_type": "code", |
|
389 | 405 | ], |
390 | 406 | "language": "python", |
391 | 407 | "metadata": {}, |
392 | | - "outputs": [] |
| 408 | + "outputs": [ |
| 409 | + { |
| 410 | + "metadata": {}, |
| 411 | + "output_type": "pyout", |
| 412 | + "prompt_number": 7, |
| 413 | + "text": [ |
| 414 | + "0.5" |
| 415 | + ] |
| 416 | + } |
| 417 | + ], |
| 418 | + "prompt_number": 7 |
393 | 419 | }, |
394 | 420 | { |
395 | 421 | "cell_type": "markdown", |
|
409 | 435 | ], |
410 | 436 | "language": "python", |
411 | 437 | "metadata": {}, |
412 | | - "outputs": [] |
| 438 | + "outputs": [ |
| 439 | + { |
| 440 | + "metadata": {}, |
| 441 | + "output_type": "pyout", |
| 442 | + "prompt_number": 8, |
| 443 | + "text": [ |
| 444 | + "int" |
| 445 | + ] |
| 446 | + } |
| 447 | + ], |
| 448 | + "prompt_number": 8 |
413 | 449 | }, |
414 | 450 | { |
415 | 451 | "cell_type": "code", |
|
419 | 455 | ], |
420 | 456 | "language": "python", |
421 | 457 | "metadata": {}, |
422 | | - "outputs": [] |
| 458 | + "outputs": [ |
| 459 | + { |
| 460 | + "metadata": {}, |
| 461 | + "output_type": "pyout", |
| 462 | + "prompt_number": 9, |
| 463 | + "text": [ |
| 464 | + "float" |
| 465 | + ] |
| 466 | + } |
| 467 | + ], |
| 468 | + "prompt_number": 9 |
423 | 469 | }, |
424 | 470 | { |
425 | 471 | "cell_type": "markdown", |
|
1143 | 1189 | "metadata": {}, |
1144 | 1190 | "outputs": [] |
1145 | 1191 | }, |
1146 | | - { |
1147 | | - "cell_type": "markdown", |
1148 | | - "metadata": {}, |
1149 | | - "source": [ |
1150 | | - "Questions? 47 min mark" |
1151 | | - ] |
1152 | | - }, |
1153 | 1192 | { |
1154 | 1193 | "cell_type": "markdown", |
1155 | 1194 | "metadata": {}, |
|
0 commit comments