<div dir="ltr"><div><div><div><br></div>I've started to pick up some new Python students (adult age) through PDX Code Guild (<guild />).  <br><br><a href="http://worldgame.blogspot.com/2016/01/bootcamp.html">http://worldgame.blogspot.com/2016/01/bootcamp.html</a><br><br>I was there last night watching their lead instructor coax them into gamely tackling the game of Zombie Dice, which has some pretty simple rules, not unlike Black Jack.  <br><br><a href="https://flic.kr/p/CwcxzH">https://flic.kr/p/CwcxzH</a>  (I assume the rule are Googleble)<br><br>Tiffany is an accomplished instructor who inspires confidence in her team.<br><br><a href="https://flic.kr/p/CXDmZ4">https://flic.kr/p/CXDmZ4</a>  ("duck typing" -- inside joke)<br><br>Here's a snapshot of the kind of 'intro to classes' material we're using at <guild />, I'm sure reminiscent of what you've seen elsewhere, that you've written yourself:<br><br><a href="https://github.com/4dsolutions/Python5/blob/master/intro_classes.py">https://github.com/4dsolutions/Python5/blob/master/intro_classes.py</a><br><br></div>I'm also planning to use this little quiz idea I picked up at Portland Python User Group (PPUG) -- code appended.  <br><br>That'll be when I guest lecture @ <guild /> on Wednesday, included in the Bootcamp course I'm aiming to pick up, after Intro to Python (starting soon InshaAllah). <br><br>I'll also share some of the odyssey of our little gem of a School @ O'Reilly, not a sales pitch as we've decided on a different tack ("we" as in ORM, for whom I'm still working even as we speak, marathon runner students rushing to the finish line).<br><br></div><div>Hey, I'm really looking forward to this new PEP being in 3.6:<br><a href="https://mail.python.org/pipermail/portland/2016-January/001733.html">https://mail.python.org/pipermail/portland/2016-January/001733.html</a>  (re 0498)<br><br></div><div>My other gig is teaching State of California folks enrolled in an enlightened professional development program.  Saisoft.net -- some of you may already know that outfit.  That's using Internet, but in real time, whereas School job is / was asynchronous (it's not either / or).<br><br></div><div>Aside:  I'm finding Lynda.com has some dynamite content around JavaScript / JQuery I'm thinking.  Yes, that's a commercial.  Safari Online is dynamite too, a perk I get to keep as a thank you (our faculty was dynamite).<br><br><a href="http://mybizmo.blogspot.com/2016/01/what-is-jquery.html">http://mybizmo.blogspot.com/2016/01/what-is-jquery.html</a>  (the Joe Marini movies are great!)<br><br></div><div>Looking forward to Pycon in Portland!<br><br></div><div>Kirby<br><br>====<br></div><div><br># -*- coding: utf-8 -*-<br>"""<br>Created on Sun Jan 10 21:15:06 2016<br><br>@author: kurner<br><br>Keywords Quiz<br>Can you think of them all?<br>"""<br><br>import keyword<br>all_kw = keyword.kwlist[:] # make a copy<br>found = [ ]<br><br>while len(all_kw) > 0:<br>    print("{} keywords left to guess".format(len(all_kw)))<br>    guess = input("What is your guess? (q to quit): ")<br>    if guess == 'q':<br>        print("You gave up!")<br>        print("Unguessed: ", all_kw)<br>        print("Guessed: ", found)<br>        break<br>    if guess in all_kw:<br>        print("Yes, that's one of them")<br>        all_kw.remove(guess)<br>        found.append(guess)<br>    elif guess in found:<br>        print("You got that one already")<br>        print("Found:", found)<br>    else:<br>        print("{} is not a keyword in Python.".format(guess))<br>else:<br>    print("Congratulations; you got them all!")<br><br><br><br><br><br></div>Kirby<br><br></div>