[PyAR2] Letters and Give-Aways

Chad Cooper supercooper at gmail.com
Sun Aug 24 03:24:51 CEST 2008


Nice Greg, I like it. Now make it so no one can win twice. Maybe three more
lines of code?
:-)

Maybe save the big enchilladas (like the Wing licenses) for last during the
panel session. No way to keep people around til the end like bribery, eh?

--------------------------------------------------------
Chad Cooper
http://www.super-cooper.com/


On Sat, Aug 23, 2008 at 11:54 AM, Greg Lindstrom <gslindstrom at gmail.com>wrote:

> Today I am sending out letters to High Schools and Colleges/Universities in
> Faulkner and White Counties (White County because I lived there for 10
> years).  I have letters and fliers left over (as well as envelopes and
> stamps).  If you want me to send an invite out to someone please let me
> know.  Send me the name and address.
>
> As for give-aways, I think we may want to split it up and give some away
> throughout the day (target certain things for certain classes).  We're going
> to have a small mountain of stuff that would take a good deal of time.
>
> As far as the "random" program, I was thinking we could have all the
> attendees listed in a text file (one name per line) and then while questions
> are being answered I would do something like this (done using IDLE on the
> screen):
>
> import random
> input_filename = INSERT_FILENAME_HERE
> names = []
> for name in file(input_filename):
>   names.append(name)
>
> while True:
>    print random.choice(names)
>    raw_input('Press <ENTER> to continue')
>
> I'd like to do something like this to show how easy Python is to use.
>
>
>
> _______________________________________________
> PyAR2 mailing list
> PyAR2 at python.org
> http://mail.python.org/mailman/listinfo/pyar2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/pyar2/attachments/20080823/d00da658/attachment.htm>


More information about the PyAR2 mailing list