Thread: Wish Software
View Single Post
mathogre

 
mathogre's Avatar
 
Member Since: Jan 20, 2007
Location: Oakton, VA USA
Posts: 3,269
mathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant futuremathogre has a brilliant future
Mac Specs: White MacBook Intel C2D 2.2GHz, 2G, 250G, SD, Leopard.

mathogre is offline
The final version of the code for the drawing is here:

http://homepage.mac.com/mathogre/.Pi...ch_12_final.py

If you run the md5 check on it, here's the command and the subsequent result:

md5 touch_12_final.py

MD5 (touch_12_final.py) = ff36c05fa4f6e2046d60e0587045cc52

If you save the program to the Desktop, run it with this command:

/usr/bin/python ~/Desktop/touch_12_final.py

The program has been updated with the final list of people in the drawing as posted by RIDE in the main thread. Below is the difference report from the prior version of the code. Note that the only differences are in the comment regarding how to run the program, and in the names of the people in the drawing. Because of ordering and formatting differences in the list of people, you'll first find the list of participants as included in the program, followed by the differences report.

Enjoy and good luck!!!!

Code:
ticketList = [    'Skye: $10', \

                  'Cherokee: $40', \
                  'Cherokee: $40', \
                  'Cherokee: $40', \
                  'Cherokee: $40', \

                  'babarnette: $20', \
                  'babarnette: $20', \

                  'cheesybanana: $30', \
                  'cheesybanana: $30', \
                  'cheesybanana: $30', \

                  'Netty4Mac: $10', \

                  'Nokialed: $10', \

                  'MacHeadCase: $10', \

                  'bobtomay: $10', \

                  'aptmunich: $20', \
                  'aptmunich: $20', \

                  'Quiara: $20', \
                  'Quiara: $20', \

                  'Brandon: $10', \

                  'Ariel: $10', \

                  'Mathogre: $40 (mail)', \
                  'Mathogre: $40 (mail)', \
                  'Mathogre: $40 (mail)', \
                  'Mathogre: $40 (mail)', \

                  'Rman: $40 (mail)', \
                  'Rman: $40 (mail)', \
                  'Rman: $40 (mail)', \
                  'Rman: $40 (mail)', \

                  'iKiten: $10 (mail)', \

                  'Fallooza: $10', \

                  'RIDE: $30', \
                  'RIDE: $30', \
                  'RIDE: $30', \

                  'Mylo: $10', \

                  'cwa107: $20', \
                  'cwa107: $20', \

                  '$10.00 Nicole T. (my co-worker) Paid to MacJuicy', \

                  '$10.00 Ito M. (my co-worker) Paid to MacJuicy', \

                  '$20.00 Robert L. (co-worker) Paid to MacJuicy', \
                  '$20.00 Robert L. (co-worker) Paid to MacJuicy', \

                  '$10.00 Rolando E. (John\'s Neighbor) Paid to MacJuicy', \

                  '$10.00 Nina R. (My Neighbor) Paid to MacJuicy']
Code:
diff touch_10.py touch_12_final.py 
14c14
< ##     /usr/bin/python ~/Desktop/touch_10.py
---
> ##     /usr/bin/python ~/Desktop/touch_12_final.py
67,69c67
< ticketList = [    '$30.00 Cheesybanana (Mac-Forums)', \
<                   '$30.00 Cheesybanana (Mac-Forums)', \
<                   '$30.00 Cheesybanana (Mac-Forums)', \
---
> ticketList = [    'Skye: $10', \
71,73c69,72
<                   '$30.00 RIDE (Mac-Forums)', \
<                   '$30.00 RIDE (Mac-Forums)', \
<                   '$30.00 RIDE (Mac-Forums)', \
---
>                   'Cherokee: $40', \
>                   'Cherokee: $40', \
>                   'Cherokee: $40', \
>                   'Cherokee: $40', \
75,78c74,75
<                   '$40.00 Mathogre (Mac-Forums)', \
<                   '$40.00 Mathogre (Mac-Forums)', \
<                   '$40.00 Mathogre (Mac-Forums)', \
<                   '$40.00 Mathogre (Mac-Forums)', \
---
>                   'babarnette: $20', \
>                   'babarnette: $20', \
80,81c77,79
<                   '$20.00 babarnette (Mac-Forums)', \
<                   '$20.00 babarnette (Mac-Forums)', \
---
>                   'cheesybanana: $30', \
>                   'cheesybanana: $30', \
>                   'cheesybanana: $30', \
83,84c81
<                   '$20.00 Aptmunich (Mac-Forums)', \
<                   '$20.00 Aptmunich (Mac-Forums)', \
---
>                   'Netty4Mac: $10', \
86c83
<                   '$10.00 Netty4mac (Mac-Forums)', \
---
>                   'Nokialed: $10', \
88c85
<                   '$10.00 Nicole T. (my co-worker)', \
---
>                   'MacHeadCase: $10', \
90c87
<                   '$10.00 Ito M. (my co-worker)', \
---
>                   'bobtomay: $10', \
92c89,90
<                   '$10.00 Nina R. ( My neighbor)', \
---
>                   'aptmunich: $20', \
>                   'aptmunich: $20', \
94,95c92,93
<                   '$20.00 Robert L. (co-worker)', \
<                   '$20.00 Robert L. (co-worker)', \
---
>                   'Quiara: $20', \
>                   'Quiara: $20', \
97,100c95
<                   '$40.00 Cherokee (Mac-Forums)', \
<                   '$40.00 Cherokee (Mac-Forums)', \
<                   '$40.00 Cherokee (Mac-Forums)', \
<                   '$40.00 Cherokee (Mac-Forums)', \
---
>                   'Brandon: $10', \
102,105c97
<                   '$40.00 RMAN (Mac Forums)', \
<                   '$40.00 RMAN (Mac Forums)', \
<                   '$40.00 RMAN (Mac Forums)', \
<                   '$40.00 RMAN (Mac Forums)', \
---
>                   'Ariel: $10', \
107c99,102
<                   '$10.00 Mylo (mac-forums) - I wil SHip no worries anywhere in us', \
---
>                   'Mathogre: $40 (mail)', \
>                   'Mathogre: $40 (mail)', \
>                   'Mathogre: $40 (mail)', \
>                   'Mathogre: $40 (mail)', \
109c104,107
<                   '$10.00 nokialed (mac Forums)', \
---
>                   'Rman: $40 (mail)', \
>                   'Rman: $40 (mail)', \
>                   'Rman: $40 (mail)', \
>                   'Rman: $40 (mail)', \
111c109
<                   '$10.00 Rolando E. (John\'s Neighbor)', \
---
>                   'iKiten: $10 (mail)', \
113c111
<                   '$10.00 PowerbookG4 (Mac-Forums)', \
---
>                   'Fallooza: $10', \
115c113,115
<                   '$10.00 Skye (Mac-Forums)', \
---
>                   'RIDE: $30', \
>                   'RIDE: $30', \
>                   'RIDE: $30', \
117c117
<                   '$10.00 ikitten (Mac-Forums)', \
---
>                   'Mylo: $10', \
119c119,120
<                   '$10.00 MacHeadcase (Mac-Forums)', \
---
>                   'cwa107: $20', \
>                   'cwa107: $20', \
121c122
<                   '$10.00 bobtomay (Mac-Forums)', \
---
>                   '$10.00 Nicole T. (my co-worker) Paid to MacJuicy', \
123c124
<                   '$10.00 XMARLTONX (Mac-Forums)', \
---
>                   '$10.00 Ito M. (my co-worker) Paid to MacJuicy', \
125c126,127
<                   '$10.00 Ariel (mac-Forums)', \
---
>                   '$20.00 Robert L. (co-worker) Paid to MacJuicy', \
>                   '$20.00 Robert L. (co-worker) Paid to MacJuicy', \
127,130c129
<                   '$20.00 Quiara: (mac-Forums)', \
<                   '$20.00 Quiara: (mac-Forums)', \
< 
<                   '$10.00 Brandon: (mac-Forums)']
---
>                   '$10.00 Rolando E. (John\'s Neighbor) Paid to MacJuicy', \
131a131
>                   '$10.00 Nina R. (My Neighbor) Paid to MacJuicy']

Evil Math Ogre Kgh-Ra
Integrate me. Differentiate me.
You can't hurt me. I'm e^x. Ha ha ha!

Homepage | Gallery
I was on the M-F honor roll for July 2007.
QUOTE Thanks