Re: [Tutor] An Introduction and a question

2006-06-10 Thread Jonathon Sisson
've triedMichael Sullivan wrote: > On Sat, 2006-06-10 at 03:27 +0100, Jonathon Sisson wrote: >> Michael Sullivan wrote: >>> Here's the situation: My wife likes to play the game Chuzzle, found at >>> Yahoo Games. We use primarily Linux, however Chuzzle is written as an >>> ActiveX control, which o

Re: [Tutor] An Introduction and a question

2006-06-10 Thread Michael Sullivan
On Sat, 2006-06-10 at 03:27 +0100, Jonathon Sisson wrote: > Michael Sullivan wrote: > > Here's the situation: My wife likes to play the game Chuzzle, found at > > Yahoo Games. We use primarily Linux, however Chuzzle is written as an > > ActiveX control, which only works on Windows. I have not be

Re: [Tutor] An Introduction and a question (continuing)

2006-06-10 Thread Kent Johnson
Michael Sullivan wrote: > OK. I've got it working this far. Now I want the script to generate > eight pieces, each with a random colour. Here's my current code: > > #!/usr/bin/env python > > import random > import time > import math > > class LinePuzzlePiece: >"""This class defines a sing

Re: [Tutor] An Introduction and a question

2006-06-10 Thread Jonathon Sisson
Michael Sullivan wrote: > Here's the situation: My wife likes to play the game Chuzzle, found at > Yahoo Games. We use primarily Linux, however Chuzzle is written as an > ActiveX control, which only works on Windows. I have not been able to > get Internet Explorer to work correctly through Wine,

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Bob Gailer
Michael Sullivan wrote: OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece: """This class defines a single playing piec

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Python
On Fri, 2006-06-09 at 16:28 -0500, Michael Sullivan wrote: > OK. I've got it working this far. Now I want the script to generate > eight pieces, each with a random colour. Here's my current code: > > #!/usr/bin/env python > > import random > import time > import math > > class LinePuzzlePiece

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Michael Sullivan
OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece: """This class defines a single playing piece for LinePuzzle""" def __in

Re: [Tutor] An Introduction and a question

2006-06-09 Thread Kent Johnson
Michael Sullivan wrote: > Here is my code: > > #!/usr/bin/env python > > import random > import time > import math > > class LinePuzzlePiece: >"""This class defines a single playing piece for LinePuzzle""" >def __init__(self): > seed(time) > index = int(math.floor(uniform(1

Re: [Tutor] An Introduction and a question

2006-06-09 Thread Andre Roberge
On 6/9/06, Michael Sullivan <[EMAIL PROTECTED]> wrote: > My name is Michael Sullivan. I am a 26 year-old college student in > Oklahoma. My wife and I have a small (three PCs) computer network that > we operate out of our home. We have our own domain (as one could tell > by examining my email addr

[Tutor] An Introduction and a question

2006-06-09 Thread Michael Sullivan
My name is Michael Sullivan. I am a 26 year-old college student in Oklahoma. My wife and I have a small (three PCs) computer network that we operate out of our home. We have our own domain (as one could tell by examining my email address) I have novice-level experience with VB, C/C++, Java, and