Re: [Tutor] simon says

2012-09-10 Thread William R. Wing (Bill Wing)
On Sep 10, 2012, at 1:15 PM, Matthew Ngaha wrote: > hi guy my book has set me an assignment of a simon says game but i > don't really understand what it's asking me to do. here's the text: > > write a version of the simon says game where a player has to repeat an > ever-growing, random sequence

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread eryksun
On Mon, Sep 10, 2012 at 12:34 PM, Greg Nielsen wrote: > I will admit that the whole Blender project is cool, but Jerry has a point. > All I wanted to know was how to get Pygame and TkInter to work together, and > I got a solid answer about 12 hours ago. (Check out Eryksun's code, it's > beyond coo

Re: [Tutor] Python in Vertica

2012-09-10 Thread Dave Angel
On 09/10/2012 04:49 PM, C.L. Shetline wrote: > > > Python 2.4.3 with Vertica Database on Linux. > > We are migrating from an Informix database to Vertica. We have C code and a > lot of > SQL Stored procedures in our Informix db that are not viable in Vertica. We > are trying > to convert them to

Re: [Tutor] Python in Vertica

2012-09-10 Thread Emile van Sebille
On 9/10/2012 1:49 PM C.L. Shetline said... Python 2.4.3 with Vertica Database on Linux. We are migrating from an Informix database to Vertica. We have C code and a lot of SQL Stored procedures in our Informix db that are not viable in Vertica. We are trying to convert them to Python. My first q

[Tutor] Python in Vertica

2012-09-10 Thread C.L. Shetline
Python 2.4.3 with Vertica Database on Linux. We are migrating from an Informix database to Vertica. We have C code and a lot of SQL Stored procedures in our Informix db that are not viable in Vertica. We are trying to convert them to Python. My first questions is: I am using pyodbc to conne

Re: [Tutor] simon says

2012-09-10 Thread Matthew Ngaha
> This seems less about "simon says" the social game, and more about > "simon", the 1980s electronic toy. > > That toy had four colored buttons that would light up in a sequence, > playing a tone for each color. The player would then have to press > the buttons in the same sequence. The game woul

Re: [Tutor] simon says

2012-09-10 Thread Emile van Sebille
On 9/10/2012 12:40 PM Brett Ritter said... On Mon, Sep 10, 2012 at 12:24 PM, Matthew Ngaha wrote: thanks for your input. i understand Simon Says. I'm just struggling to see the connection with the assignment. a sequence of colours and sounds using the keyboard. I 'm trying to understand how thi

Re: [Tutor] simon says

2012-09-10 Thread Brett Ritter
On Mon, Sep 10, 2012 at 12:24 PM, Matthew Ngaha wrote: > thanks for your input. i understand Simon Says. I'm just struggling to > see the connection with the assignment. a sequence of colours and > sounds using the keyboard. I 'm trying to understand how this relates > to the game This seems less

[Tutor] Hey. trying to set a data base.

2012-09-10 Thread Keitaro Kaoru
my imports are import json import time from tools import Arguments @Arguments(mincount = 0, maxcount = 2) def rank(mgr, room, user, msg, params): if mgr.isRoomLocked(room) and not user.name == "mr": return if len(params) < 2: if len(params) == 0: name = user.name

Re: [Tutor] simon says

2012-09-10 Thread Matthew Ngaha
>> hi guy my book has set me an assignment of a simon says game but i >> don't really understand what it's asking me to do. here's the text: It's the last chapter of Python Prgogramming for the absolute beginner. they have covered all the basics. Even simple tkinter apps and Pygame games. If i und

Re: [Tutor] simon says

2012-09-10 Thread Matthew Ngaha
> You should read up on the Simon Says rules and such. It's an > established, old game. Once you get that, then work on replicating it > through software. > thanks for your input. i understand Simon Says. I'm just struggling to see the connection with the assignment. a sequence of colours and soun

Re: [Tutor] simon says

2012-09-10 Thread bob gailer
On 9/10/2012 1:15 PM, Matthew Ngaha wrote: hi guy my book has set me an assignment of a simon says game but i don't really understand what it's asking me to do. here's the text: write a version of the simon says game where a player has to repeat an ever-growing, random sequence of colours and so

[Tutor] simon says

2012-09-10 Thread Matthew Ngaha
hi guy my book has set me an assignment of a simon says game but i don't really understand what it's asking me to do. here's the text: write a version of the simon says game where a player has to repeat an ever-growing, random sequence of colours and sounds using the keyboard. Anyone understand t

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Greg Nielsen
I will admit that the whole Blender project is cool, but Jerry has a point. All I wanted to know was how to get Pygame and TkInter to work together, and I got a solid answer about 12 hours ago. (Check out Eryksun's code, it's beyond cool, past awsome, and close to sexy.) As such, I am considering t

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Walter Prins
Hi Jerry, On 10 September 2012 16:00, Jerry Hill wrote: > On Mon, Sep 10, 2012 at 1:18 AM, Dwight Hutto wrote: >> Please beieve me when I say use Blender, and it's Python API. It's a 3-D >> app, and you can code python with it. >> >> The game engine will make it muche easier for you to do 'new a

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Jerry Hill
On Mon, Sep 10, 2012 at 1:18 AM, Dwight Hutto wrote: > Please beieve me when I say use Blender, and it's Python API. It's a 3-D > app, and you can code python with it. > > The game engine will make it muche easier for you to do 'new age' gaming. I don't understand how this relates to the question

Re: [Tutor] Help - My First Program Fails

2012-09-10 Thread Steven D'Aprano
On 10/09/12 19:40, tayo rotimi wrote: Hi Steven. Thank you for your answer below. The program now runs, using print("Game Over"). I use Python 3..; but the book - python for absolute beginner - that I have is an old (2003) edition. I don't know how this combination may affect my learning, goin

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Greg Nielsen
Ok kids, settle down. Quick question to Dwight; why Blender? Im not going for "new age" like that. (Personally when you spend that much time making a game look nice, the core mechinics suffer.) However, it does look rather shiny and powerful. All I really need though are some GUI components to add

Re: [Tutor] Help - My First Program Fails

2012-09-10 Thread tayo rotimi
Hi Steven. Thank you for your answer below. The program now runs, using print("Game Over"). I use Python 3..; but the book - python for absolute beginner - that I have is an old (2003) edition. I don't know how this combination may affect my learning, going forward. Could you please suggest

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Dwight Hutto
> Note to self, avoid http://www.hitwebdevelopment.com like the plague as > the CEO has poor communication skills :) > > Mark Lawrence. > > Point out the poor communication skills then ...Mark. Don't just use > useless propaganda. > -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopment

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Dwight Hutto
;) -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopment.com* ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Dwight Hutto
On Mon, Sep 10, 2012 at 3:08 AM, Mark Lawrence wrote: > On 10/09/2012 06:18, Dwight Hutto wrote: > >> Please believe me when I say use Blender, and it's Python API. It's a 3-D >> app, and you can code python with it. >> >> The game engine will make it muche easier for you to do 'new age' gaming. >

Re: [Tutor] Pygame and TkInter

2012-09-10 Thread Mark Lawrence
On 10/09/2012 06:18, Dwight Hutto wrote: Please beieve me when I say use Blender, and it's Python API. It's a 3-D app, and you can code python with it. The game engine will make it muche easier for you to do 'new age' gaming. ___ Tutor maillist - Tu